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.

A099362 Number of times the n-th prime is crossed off in the sieve of A099361.

Original entry on oeis.org

0, 0, 1, 0, 2, 0, 1, 1, 1, 0, 3, 0, 1, 1, 1, 0, 2, 1, 2, 1, 1, 0, 2, 0, 2, 1, 1, 0, 2, 0, 1, 3, 1, 0, 2, 0, 1, 1, 3, 0, 2, 0, 1, 1, 2, 1, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 1, 1, 2, 1, 1, 1, 1, 0, 2, 0, 2, 2, 2, 0, 3, 0, 1, 2, 1, 0, 2, 0, 1, 1, 2, 0, 2, 1, 1, 2, 1, 1, 2, 0, 1, 1, 1, 0, 3, 0, 3, 1, 1, 0, 3, 1, 1, 1, 1
Offset: 1

Views

Author

N. J. A. Sloane, Nov 18 2004

Keywords

Programs

  • Mathematica
    nn = 300; a = Prime[Range[nn]]; cnt = Table[0, {nn}]; Do[p = a[[i]]; If[p > 0, Do[a[[j]] = 0; cnt[[j]]++, {j, i + p, nn, p}]], {i, nn}]; cnt (* T. D. Noe, Apr 15 2011 *)

Extensions

More terms from Ray Chandler, Nov 19 2004