OFFSET
0,3
COMMENTS
The associated primes 2, 5, 13, 73, 89, 281, 337, 757, 797, ... create a strictly increasing sequence. What is the rate of its growth?
Positive integers that are not in this sequence are 4, 6, 7, 10, 12, 14, 17, 18, 19, 20, 22, 23, 24, 25, 27, ... - Altug Alkan, May 14 2016
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
MATHEMATICA
a[0]=1; a[1]=1; a[n_]:=a[n]= Block[{t = a[n-2] + 1}, While[! PrimeQ[t^2 + a[n-1]^2], t++]; t]; Array[a, 80, 0] (* Giovanni Resta, May 08 2016 *)
PROG
(PARI) lista(nn) = {print1(x = 1, ", "); print1(y = 1, ", "); for (n=2, nn, z = x+1; while (! isprime(y^2+z^2), z++); print1(z, ", "); x = y; y = z; ); } \\ Michel Marcus, May 08 2016
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Thomas Ordowski, May 08 2016
EXTENSIONS
More terms from Michel Marcus, May 08 2016
STATUS
approved