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.

Showing 1-3 of 3 results.

A121854 a(n) = floor(Pi*(sqrt(n))).

Original entry on oeis.org

0, 3, 4, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 14, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 24
Offset: 0

Views

Author

Mohammad K. Azarian, Aug 30 2006

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Floor[\[Pi] Sqrt[n]],{n,0,65}]  (* Harvey P. Dale, Apr 22 2011 *)

Extensions

Offset corrected and b-file updated by Ivan Panchenko, Nov 13 2013

A121855 a(n) = ceiling(Pi*sqrt(n)).

Original entry on oeis.org

0, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 22, 23, 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 27, 27, 27
Offset: 0

Views

Author

Mohammad K. Azarian, Aug 30 2006

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Ceiling[Pi Sqrt[n]], {n, 0, 100}] (* Vincenzo Librandi, Feb 21 2013 *)

Extensions

Offset corrected by Ivan Panchenko, Nov 13 2013

A121856 a(n) = Floor(e*sqrt(n)).

Original entry on oeis.org

0, 2, 3, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 23, 23
Offset: 0

Views

Author

Mohammad K. Azarian, Aug 30 2006

Keywords

Crossrefs

Programs

  • Magma
    [Floor(Exp(1)*Sqrt(n)): n in [0..50]]; // G. C. Greubel, Oct 28 2017
  • Mathematica
    Floor[E Sqrt[Range[0,80]]] (* Harvey P. Dale, May 16 2012 *)
  • PARI
    for(n=0,50, print1(floor(exp(1)*sqrt(n)), ", ")) \\ G. C. Greubel, Oct 28 2017
    

Extensions

Offset corrected by Harvey P. Dale, May 16 2012
Showing 1-3 of 3 results.