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.

A135973 Ceiling(4/3*Pi*n^3).

Original entry on oeis.org

0, 5, 34, 114, 269, 524, 905, 1437, 2145, 3054, 4189, 5576, 7239, 9203, 11495, 14138, 17158, 20580, 24430, 28731, 33511, 38793, 44603, 50966, 57906, 65450, 73623, 82448, 91953, 102161, 113098, 124789, 137259, 150533, 164637, 179595, 195433
Offset: 0

Views

Author

Mohammad K. Azarian, Mar 02 2008

Keywords

Comments

Volume of a sphere of radius n, rounded up.

Crossrefs

Programs

  • Mathematica
    Table[Ceiling[4/3*Pi * n^3], {n, 0, 60}] (* Vincenzo Librandi, Feb 19 2013 *)
  • PARI
    a(n)=ceil(4/3*Pi*n^3) \\ Charles R Greathouse IV, Oct 10 2013
  • Sage
    n=100 # change n for more values
    [ceil(4/3*pi*r^3) for r in [0..n]] # Tom Edgar, Oct 10 2013
    

Formula

a(n) = A066645(n) + 1 for n > 0.

Extensions

Definition replaced by Vincenzo Librandi, Feb 19 2013
0 prepended by T. D. Noe, Oct 10 2013