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.

A121381 a(n) = ceiling(n*Pi).

Original entry on oeis.org

0, 4, 7, 10, 13, 16, 19, 22, 26, 29, 32, 35, 38, 41, 44, 48, 51, 54, 57, 60, 63, 66, 70, 73, 76, 79, 82, 85, 88, 92, 95, 98, 101, 104, 107, 110, 114, 117, 120, 123, 126, 129, 132, 136, 139, 142, 145, 148, 151, 154, 158, 161, 164, 167, 170, 173, 176, 180, 183, 186
Offset: 0

Views

Author

Mohammad K. Azarian, Sep 06 2006

Keywords

Crossrefs

Essentially the same as A004084. Cf. A022844, A121854, A121855.

Programs

  • Magma
    [Ceiling(n*Pi): n in [0..50]]; // G. C. Greubel, Oct 28 2017
  • Mathematica
    Table[Ceiling[n Pi], {n, 0, 80}] (* Vincenzo Librandi, Feb 22 2013 *)
  • PARI
    for(n=0,50, print1(ceil(n*Pi), ", ")) \\ G. C. Greubel, Oct 28 2017