login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A339957
Primes in A240860 (up to sign).
1
5, 29, 149, 461, 1637, 1877, 4373, 13037, 13757, 32309, 41381, 43853, 63533, 69821, 92333, 154157, 174917, 228869, 250949, 358637, 381917, 388757, 565661, 587693, 651293, 697973, 755861, 790613, 862061, 985613, 1127309, 1180637, 1303613, 1739981, 2147693, 2345261, 2586989, 2684837, 2876261
OFFSET
1,1
LINKS
EXAMPLE
a(3) = 149 is in the sequence because it is prime and A240860(8) = -149.
MAPLE
R:= NULL: count:= 0:
v:= 0: p:= 1:
while count < 100 do
p:= nextprime(p);
v:= p^2 - v;
if isprime(v) then R:= R, v; count:= count+1 fi
od:
R;
CROSSREFS
Cf. A240860.
Sequence in context: A273078 A060963 A107002 * A027864 A272839 A272921
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 24 2020
STATUS
approved