OFFSET
1,1
EXAMPLE
a(1) = 61751 is a term because with p1 = 61751, p2 = 61757, p3 = 61781, p4 = 61813, we have p1*p2+p3*p4+p1 = 7632487211, p1*p2+p3*p4+p2 = 7632487217, p1*p2+p3*p4+p3 = 7632487241, p1*p2+p3*p4+p4 = 7632487273, all primes.
MAPLE
p2:=2: p3:= 3: p4:= 5: count:= 0: R:= NULL:
while count < 10 do
p1:= p2; p2:= p3; p3:= p4; p4:= nextprime(p4);
w:= p1*p2+p3*p4;
if andmap(t -> isprime(t+w), [p1, p2, p3, p4]) then
count:= count+1; R:= R, p1
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 29 2020
EXTENSIONS
a(11)-a(29) from Jon E. Schoenfield, Dec 29 2020
STATUS
approved