OFFSET
0,1
COMMENTS
All terms are prime and distinct.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
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
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Nov 28 2021
STATUS
approved