|
|
A257500
|
|
Numbers that cannot be expressed as the sum of distinct odd composite numbers.
|
|
0
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 22, 23, 26, 28, 29, 31, 32, 37, 38, 41, 43, 47, 53
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
lim = 120; Complement[Range@ 120, TakeWhile[Plus @@@ Subsets[Select[Range@ lim, OddQ@ # && CompositeQ@ # &], 5], # < 5 lim &]] (* Michael De Vlieger, Apr 27 2015 *)
|
|
PROG
|
(PARI) alist(n) = local(poly=1+x*x^n); forstep(k=9, n, 2, if(!isprime(k), poly*=1+x^k)); for(k=1, n, if(polcoeff(poly, k)==0, print1(k", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|