OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..418
FORMULA
From Robert Israel, Jun 11 2025: (Start)
a(2*n-1) = (Product_{i=1..n+1} A087900(i)) - 1.
a(2*n) = (Product_{i=1..n+1} A087900(i)) + 1. (End)
MAPLE
R:= NULL; s:= 2: count:= 0:
for r from 3 while count < 30 do
if isprime(s*r+1) and isprime(s*r-1) then
count:= count+2; s:= s*r; R:= R, s-1, s+1;
fi;
od:
R; # Robert Israel, Jun 11 2025
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Lekraj Beedassy, Oct 14 2003
STATUS
approved
