OFFSET
1,2
COMMENTS
All terms are multiples of 8, cf. A304441. - M. F. Hasler, May 13 2018
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
Ajai Choudhry and Bibekananda Maji, Finite sequences of integers expressible as sums of two squares, arXiv:2310.13317 [math.NT], 2023.
FORMULA
a(n) = 8*A304441(n). - M. F. Hasler, May 13 2018
EXAMPLE
80 is here because 80=4^2+8^2, 81=0^2+9^2 and 82=1^2+9^2.
PROG
(PARI) issumsq(n) = {ok = 0; for (i=0, ceil(sqrt(n/2)), if (issquare(n - i^2), return (1)); ); return (0); }
isok(n) = issumsq(n) && issumsq(n+1) && issumsq(n+2) \\ Michel Marcus, Jun 30 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Xavier Xarles (xarles(AT)mat.uab.es), May 28 2003
EXTENSIONS
More terms from Michel Marcus, Jun 30 2013
STATUS
approved