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.

A086861 Floor( p/log(p) ), where p = prime(n).

Original entry on oeis.org

2, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 18, 18, 19, 21, 21, 22, 22, 23, 23, 26, 26, 27, 28, 29, 30, 31, 31, 32, 33, 34, 34, 36, 36, 37, 37, 39, 41, 41, 42, 42, 43, 43, 45, 46, 47, 48, 48, 49, 49, 50, 51, 53, 54, 54, 55, 57, 57, 59, 59, 60, 61, 62
Offset: 1

Views

Author

Yang Sok Kim (yangsokk(AT)utas.edu.au), Aug 20 2003

Keywords

Programs

  • Mathematica
    Table[Floor[p/Log[p]],{p,Prime[Range[80]]}] (* Harvey P. Dale, Aug 22 2017 *)
  • PARI
    a(n) = floor(prime(n)/log(prime(n))) \\ Michel Marcus, Aug 07 2013

Extensions

More terms from Ray Chandler, Aug 31 2003