OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[4 * Range[0, 500] + 1, !PrimeQ[#] && Length @ PowersRepresentations[#, 2, 2] == 1 &] (* Amiram Eldar, Mar 12 2020 *)
PROG
(PARI) isok(n)= {if (isprime(n) || (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