OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
5 = 1^2 + 2^2, 9 = 0^2 + 3^2, 13 = 2^2 + 3^2, 17 = 1^2 + 4^2, 29 = 2^2 + 5^2, ... - Michael Somos, Jul 25 2023
MATHEMATICA
Select[4 * Range[0, 100] + 1, Length @ PowersRepresentations[#, 2, 2] == 1 &] (* Amiram Eldar, Mar 12 2020 *)
PROG
(PARI) isok(n)= {if (n % 4 != 1, return(0)); A000161(n) == 1; } \\ Michel Marcus, Nov 02 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Nov 16 2006
EXTENSIONS
More terms from Michel Marcus, Nov 02 2013
STATUS
approved