login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Cf. A071904.
Sequence in context: A095949 A106092 A210940 * A121208 A331914 A324935
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:23 EDT 2024. Contains 371989 sequences. (Running on oeis4.)