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.

A055400 Cube excess: difference between n and largest cube <= n.

Original entry on oeis.org

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

Views

Author

Henry Bottomley, May 16 2000

Keywords

Examples

			a(12) = 4 because 2^3 <= 12 < 3^3 and 12 - 2^3 = 4.
		

Crossrefs

Programs

Formula

a(n) = n - A048762(n) = n - floor(n^(1/3))^3.
a(n) < 3*n^(2/3) for n > 0. - Charles R Greathouse IV, Sep 02 2015