login
A349735
a(n) = A244915(n)^2 + A244915(n+1)^2.
1
2, 5, 13, 73, 89, 29, 53, 113, 233, 173, 229, 241, 17, 37, 61, 41, 97, 181, 101, 197, 277, 337, 257, 401, 409, 109, 149, 193, 313, 269, 389, 293, 733, 829, 461, 397, 157, 137, 457, 541, 941, 857, 641, 661, 877, 1097, 281, 349, 373, 449, 521, 317, 421, 709, 509
OFFSET
0,1
COMMENTS
All terms are prime and distinct.
LINKS
EXAMPLE
a(4) = A244915(4)^2 + A244915(5)^2 = 8^2 + 5^2 = 89.
PROG
(PARI) s=0; v=1; for (n=0, 54, for (w=1, oo, p=v^2+w^2; if (!bittest(s, p) && isprime(p), print1(p ", "); s+=2^p; v=w; break)))
CROSSREFS
Cf. A244915.
Sequence in context: A262366 A128029 A215167 * A081650 A092262 A365326
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Nov 28 2021
STATUS
approved