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.

A022451 a(1) = 3; a(n+1) = a(n)-th composite.

Original entry on oeis.org

3, 8, 15, 25, 38, 55, 77, 105, 140, 183, 235, 298, 372, 462, 566, 692, 838, 1007, 1205, 1432, 1698, 2002, 2352, 2755, 3210, 3731, 4322, 4990, 5747, 6601, 7562, 8638, 9854, 11211, 12731, 14422, 16315, 18425, 20765, 23372, 26258, 29460, 32998, 36912, 41229
Offset: 1

Views

Author

Keywords

References

  • C. Kimberling, Fractal sequences and interspersions, Ars Combinatoria, vol. 45 p 157 1997.

Crossrefs

Programs

  • Mathematica
    g[ n_Integer ] := (k = n + PrimePi[ n ] + 1; While[ k - PrimePi[ k ] - 1, k++ ]; k); NestList[ g, 3, 45 ]
    With[{comps=Complement[Range[80000],Prime[Range[PrimePi[80000]]]]}, NestList[comps[[#+1]]&,3,50]] (* Harvey P. Dale, Mar 17 2012 *)