login

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”).

A228468
Numbers k such that the sum of the first k consecutive prime numbers is pandigital (includes all 10 digits at least once).
2
14353, 18572, 22876, 25212, 26799, 27803, 28752, 30510, 32011, 32423, 32515, 35137, 37055, 42840, 43058, 43167, 43211, 43288, 43315, 43830, 46713, 46766, 48281, 48319, 48471, 49118, 51415, 52047, 52086, 53022, 53092, 54940, 54979, 55065, 55269, 55769
OFFSET
1,1
COMMENTS
A049442 is a subset of this sequence.
LINKS
EXAMPLE
a(15)=43058 because the 43058th prime is 519947 and 2 + 3 + 5 + 7 + 11 + ... + 519947 = 10689537247, which is pandigital.
MATHEMATICA
b = {}; a = 0; Do[a = a + Prime[i]; u = Union[IntegerDigits[a]]; If[Equal[u, {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}], AppendTo[b, i]], {i, 1, 60000}]; b
Position[Accumulate[Prime[Range[56000]]], _?(Min[DigitCount[#]]> 0&)]// Flatten (* Harvey P. Dale, Apr 14 2020 *)
CROSSREFS
Cf. A049442.
Sequence in context: A249314 A249207 A049442 * A296813 A234678 A237788
KEYWORD
nonn,base,less
AUTHOR
Shyam Sunder Gupta, Aug 22 2013
STATUS
approved