login
A138444
a(n) = ((n-th prime)^6-(n-th prime^2))/5.
2
12, 144, 3120, 23520, 354288, 965328, 4827456, 9409104, 29607072, 118964496, 177500544, 513145008, 950020512, 1264272240, 2155842624, 4432871664, 8436106032, 10304074128, 18091675536, 25620055776, 30266844192, 48617489856
OFFSET
1,1
FORMULA
a(n) = A138409(n)/5. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/5], {n, 1, 50}]; a
(#^6-#^2)/5&/@Prime[Range[30]] (* Harvey P. Dale, Oct 18 2013 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/5", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A374879 A374861 A143248 * A137886 A097303 A067219
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved