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.

A163121 (prime(n))^3-(nonprime(n))^3 .

Original entry on oeis.org

8, 26, 61, 127, 819, 1468, 3913, 5131, 9423, 21014, 25695, 44821, 60921, 70246, 93175, 135053, 189754, 209405, 281080, 335959, 362017, 460271, 535850, 665665, 869798, 983645, 1037855, 1165724, 1231029, 1368809, 1963199, 2156966, 2474017, 2575027
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Jul 21 2009

Keywords

Comments

Cube of the n-th prime, A000040(n), minus cube of the n-th nonprime, A141468(n).

Examples

			a(1)=2^3-0^3=8. a(2)=3^3-1^2=26. a(3)=5^3-4^3=61. a(4)=7^3-6^3=127.
		

Crossrefs

Formula

a(n) = A030078(n)-A141468(n)^3 = A161671(n)*(A001248(n)+A000040(n)*A141468(n)+A161753(n)).

Extensions

Extended by R. J. Mathar, Jul 31 2009