A138411 a(n) = prime(n)^6 - prime(n)^4.
48, 648, 15000, 115248, 1756920, 4798248, 24054048, 46915560, 147756048, 594116040, 886580160, 2563852248, 4747278480, 6317944248, 10774335648, 22156470648, 42168416280, 51506528520, 90438231048, 128074872240
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..168
- Index to sequences related to prime powers
Programs
-
Mathematica
a = {}; Do[p = Prime[n]; AppendTo[a, p^6 - p^4], {n, 1, 50}]; a #^6-#^4&/@Prime[Range[20]] (* Harvey P. Dale, May 18 2012 *)
-
PARI
forprime(p=2,1e3,print1(p^6-p^4", ")) \\ Charles R Greathouse IV, Jun 16 2011