cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A046285 Numbers k such that the sum of the first k primes is a lucky number.

Original entry on oeis.org

10, 20, 34, 36, 46, 52, 56, 68, 72, 86, 88, 90, 96, 100, 102, 118, 130, 140, 144, 154, 166, 198, 228, 240, 242, 282, 318, 328, 348, 356, 360, 366, 392, 402, 418, 440, 452, 464, 472, 476, 510, 540, 556, 570, 572, 586, 592, 600, 604, 614, 638, 650, 654, 670, 684
Offset: 1

Views

Author

Patrick De Geest, Jun 15 1998

Keywords

Crossrefs

Programs

  • Mathematica
    lst = Range[1, 1700000, 2]; i = 2; While[ i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++ ]; lst2 = {}; s = 0; Do[s = s + Prime@n; If[MemberQ[lst, s], Print[n]; AppendTo[lst2, n]], {n, 687}]; lst2 (* Robert G. Wilson v *)

Extensions

More terms from Robert G. Wilson v, May 12 2006