login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138428
a(n) = (prime(n)^5 - prime(n))/10.
3
3, 24, 312, 1680, 16104, 37128, 141984, 247608, 643632, 2051112, 2862912, 6934392, 11585616, 14700840, 22934496, 41819544, 71492424, 84459624, 135012504, 180422928, 207307152, 307705632, 393904056, 558405936, 858734016, 1051010040
OFFSET
1,1
LINKS
FORMULA
a(n) = A138404(n)/10. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p)/10], {n, 1, 50}]; a
(#^5-#)/10&/@Prime[Range[30]] (* Harvey P. Dale, Dec 18 2014 *)
PROG
(Magma) [(NthPrime((n))^5 - NthPrime((n)))/10: n in [1..30]]; // Vincenzo Librandi, Jun 18 2011
(PARI) forprime(p=2, 1e3, print1((p^5-p)/10", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A138209 A352235 A075142 * A047056 A343445 A264561
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved