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.

A086142 a(n) = floor( log( prime(n) )^2 ).

Original entry on oeis.org

0, 1, 2, 3, 5, 6, 8, 8, 9, 11, 11, 13, 13, 14, 14, 15, 16, 16, 17, 18, 18, 19, 19, 20, 20, 21, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 25, 25, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 29, 30, 30, 30, 31, 31, 31, 31, 31, 31, 32, 32, 32, 33, 33, 33, 33, 34, 34, 34, 34
Offset: 1

Views

Author

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

Keywords

Examples

			a(5)=5: floor(square(log 11)) because log(11) = 2.3979 and square(2.3979) = 5.74992.
		

Programs

  • Mathematica
    Table[ Floor[ Log[ Prime[n]]^2], {n, 1, 60}]
  • PARI
    vector(80, n, floor(log(prime(n))^2)) \\ Michel Marcus, Jun 29 2015

Extensions

More terms from Robert G. Wilson v, Sep 01 2003