Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #18 Feb 16 2019 07:03:54
%S 1,1,2,3,4,6,8,10,14,19,25,34,46,62,84,115,158,216,296,406,559,770,
%T 1063,1468,2029,2808,3889,5390,7478,10381,14421,20044,27876,38792,
%U 54010,75233,104842,146169,203869,284457,397045,554382,774322,1081859
%N Least number of consecutive primes beginning with 2, the sum of which (A007504) is >= 2^n.
%C The final primes in the sums are 2, 2, 3, 5, 7, 13, 19, 29, 43, 67, 97, 139, 199, 293, 433, 631, 929, ..., .
%t p = 2; k = s = 0; lst = {}; Do[ While[s < 2^n, s = s + p; p = NextPrime@ p; k++]; AppendTo[lst, k], {n, 50}]; lst
%Y Cf. A007504, A323361, A323362.
%K nonn
%O 0,3
%A _Robert G. Wilson v_, Jan 12 2019