login
A323360
Least number of consecutive primes beginning with 2, the sum of which (A007504) is >= 2^n.
2
1, 1, 2, 3, 4, 6, 8, 10, 14, 19, 25, 34, 46, 62, 84, 115, 158, 216, 296, 406, 559, 770, 1063, 1468, 2029, 2808, 3889, 5390, 7478, 10381, 14421, 20044, 27876, 38792, 54010, 75233, 104842, 146169, 203869, 284457, 397045, 554382, 774322, 1081859
OFFSET
0,3
COMMENTS
The final primes in the sums are 2, 2, 3, 5, 7, 13, 19, 29, 43, 67, 97, 139, 199, 293, 433, 631, 929, ..., .
MATHEMATICA
p = 2; k = s = 0; lst = {}; Do[ While[s < 2^n, s = s + p; p = NextPrime@ p; k++]; AppendTo[lst, k], {n, 50}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jan 12 2019
STATUS
approved