|
Search: id:A050940
|
|
|
| A050940 |
|
Numbers that are not the sum of consecutive primes. |
|
+0 3
|
|
| 0, 1, 4, 6, 9, 14, 16, 20, 21, 22, 25, 27, 32, 33, 34, 35, 38, 40, 44, 45, 46, 50, 51, 54, 55, 57, 62, 63, 64, 65, 66, 69, 70, 74, 76, 80, 81, 82, 85, 86, 87, 91, 92, 93, 94, 96, 99, 104, 105, 106, 108, 110, 111, 114, 115, 116, 117, 118, 122, 123, 125
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
Where is there a proof that this sequence is infinite? - Carlos B. Rivera F. (crivera(AT)primepuzzles.net), Apr 17 2002
|
|
LINKS
|
Franklin T. Adams-Watters, Table of n, a(n) for n = 1..10001
|
|
EXAMPLE
|
The number 14 can not be expressed as a sum of any consecutive subset of the following primes { 2, 3, 5, 7, 11, 13}
|
|
PROGRAM
|
(BASIC) 10 N=1 20 N=N+1: if N=prmdiv(N) then goto 20 30 P=1 40 P=nxtprm(P):S=P:Q=P: if S>N\2 then print N; :goto 20 50 Q=nxtprm(Q):S=S+Q 60 if S=N then goto 20 70 if S>N then goto 40 80 goto 50
|
|
CROSSREFS
|
Complement of A034707.
Sequence in context: A112381 A108634 A135355 this_sequence A084336 A094750 A057988
Adjacent sequences: A050937 A050938 A050939 this_sequence A050941 A050942 A050943
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
njas, Jan 02 2000
|
|
|
Search completed in 0.002 seconds
|