|
|
A283248
|
|
Numbers that cannot be represented as a sum of one prime and two primes squared.
|
|
1
|
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 17, 22, 28, 33, 38, 43, 62, 68, 78, 83, 98, 104, 134, 146, 158, 174, 179, 182, 188, 200, 218, 230, 248, 260, 266, 272, 278, 302, 308, 314, 328, 332, 338, 356, 374, 398, 404, 416, 428, 440, 458, 464, 482, 488, 494, 506, 518, 524, 530
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
10 is the first missing number since it is 2 + 2^2 + 2^2.
|
|
PROG
|
(PARI) isok2(n)=forprime(q=2, sqrtint(n), if(isprimepower(n-q^2)==2, return(0))); 1;
isok(n) = forprime(p=2, n-1, if (!isok2(n-p), return (0)); ); 1;
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|