The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A138440 a(n) = ((n-th prime)^6-(n-th prime))/2. 3
31, 363, 7810, 58821, 885775, 2413398, 12068776, 23522931, 74017933, 297411646, 443751825, 1282863186, 2375052100, 3160681503, 5389607641, 11082180538, 21090266791, 25760187150, 45229191051, 64050141925, 75667113108 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A138408(n)/2. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p)/2], {n, 1, 50}]; a
(#^6-#)/2&/@Prime[Range[30]] (* Harvey P. Dale, Aug 01 2022 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A261759 A156150 A125419 * A307008 A161347 A107941
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 June 1 12:42 EDT 2024. Contains 373023 sequences. (Running on oeis4.)