login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138427 a(n) = (prime(n)^5 - prime(n))/6. 3
5, 40, 520, 2800, 26840, 61880, 236640, 412680, 1072720, 3418520, 4771520, 11557320, 19309360, 24501400, 38224160, 69699240, 119154040, 140766040, 225020840, 300704880, 345511920, 512842720, 656506760, 930676560, 1431223360 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A138404(n)/6. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p)/6], {n, 1, 50}]; a
(#^5-#)/6&/@Prime[Range[40]] (* Harvey P. Dale, Dec 17 2013 *)
PROG
(Magma) [(NthPrime((n))^5 - NthPrime((n)))/6: n in [1..30]]; // Vincenzo Librandi, Jun 18 2011
(PARI) forprime(p=2, 1e3, print1((p^5-p)/6", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A145166 A113079 A211046 * A277405 A280572 A217904
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 5 17:38 EDT 2024. Contains 375700 sequences. (Running on oeis4.)