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.

A057671 a(n) equals floor(Vc(n) - Vs(n)), where Vc(n) is the volume of the cube with side length n and Vs(n) is the volume of the sphere of diameter n.

Original entry on oeis.org

0, 3, 12, 30, 59, 102, 163, 243, 347, 476, 634, 823, 1046, 1307, 1607, 1951, 2340, 2778, 3267, 3811, 4411, 5072, 5796, 6585, 7443, 8373, 9377, 10457, 11618, 12862, 14192, 15610, 17120, 18724, 20425, 22226, 24131
Offset: 1

Views

Author

seiringer.flor(AT)eudoramail.com, Oct 18 2000

Keywords

Examples

			a(7)=163 because 163=floor(7^3*(1-Pi/6)).
		

Crossrefs

Cf. A057672.

Programs

  • Mathematica
    Table[Floor[n^3 (1-\[Pi]/6)],{n,40}]  (* Harvey P. Dale, Apr 24 2011 *)

Formula

a(n) = floor(n^3*(1-Pi/6)).

Extensions

Edited by James Sellers, Oct 20 2000