OFFSET
1,1
EXAMPLE
11 is in the sequence since 11 = 3^2 + 2.
PROG
(PARI) isok(n) = for (i = 1, sqrtint(n), if (isprime(n - i^2), return (1))); 0 \\ Michel Marcus, Sep 04 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Avi Peretz (njk(AT)netvision.net.il), Dec 27 2000
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Jan 12 2001
STATUS
approved