|
|
A179321
|
|
Numbers m such that the sum of the first k odd primes = m-th odd prime.
|
|
2
|
|
|
1, 30, 74, 94, 792, 852, 1037, 1178, 1395, 1557, 2468, 3602, 3725, 5064, 5361, 5514, 6461, 8979, 9765, 11005, 16503, 19798, 20090, 21254, 22475, 24686, 30480, 30822, 37614, 44243, 44668, 45528, 49999, 50924, 53241, 61613, 64721, 65236
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
|
|
MAPLE
|
A:= NULL: p:= 2: s:= 0: q:= 2: count:= 0: i:= 0:
while count < 100 do
if s = q then count:= count+1; A:= A, i; fi;
if s <= q then p:= nextprime(p); s:= s+p
else q:= nextprime(q); i:= i+1
fi;
od:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|