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.

A075847 Difference between n^2 and the largest cube <= n^2.

Original entry on oeis.org

0, 0, 3, 1, 8, 17, 9, 22, 0, 17, 36, 57, 19, 44, 71, 9, 40, 73, 108, 18, 57, 98, 141, 17, 64, 113, 164, 0, 55, 112, 171, 232, 24, 89, 156, 225, 296, 38, 113, 190, 269, 350, 36, 121, 208, 297, 388, 12, 107, 204, 303, 404, 507, 65, 172, 281, 392, 505, 620, 106, 225, 346
Offset: 0

Views

Author

Zak Seidov and Reinhard Zumkeller, Oct 15 2002

Keywords

Comments

a(n) = n^2 - A077106(n).
a(n) = 0 iff n = m^(6*k).
a(n) = 0 when n is a cube. See A070923.

Examples

			a(4)=8 because 4^2 - 2^3 = 8; a(9)=17 because 9^2 - 4^3 = 17.
A077106(20) = 343 = 7^3 is the largest cube <= 20^2 = 400, therefore a(20) = 400 - 343 = 57.
		

Crossrefs

Programs

Extensions

Edited by N. J. A. Sloane at the suggestion of Zak Seidov, Oct 30 2008