A179321 Numbers m such that the sum of the first k odd primes = m-th odd prime.
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
Offset: 1
Keywords
Examples
30 is a term because A007504(6) - 2 = 127 = A000040(31).
Links
- Robert Israel, Table of n, a(n) for n = 1..1600
Programs
-
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: A; # Robert Israel, Aug 28 2023