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!)
A138452 a(n) = ((n-th prime)^6-(n-th prime)^3)/2. 3
28, 351, 7750, 58653, 885115, 2412306, 12066328, 23519511, 74011861, 297399466, 443736945, 1282837878, 2375017660, 3160641771, 5389555753, 11082106126, 21090164131, 25760073690, 45229040703, 64049963005, 75666918636 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = binomial(prime(n)^3, 2) = A000217(A030078(n)). - Jon Maiga, Nov 14 2018
a(n) = (A030078(n) * A006093(n) * A060800(n))/2. - Vincenzo Librandi, Nov 14 2018
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^3)/2], {n, 1, 24}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^3)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011
(Magma) [(p^6 - p^3) / 2: p in PrimesUpTo(100)]; // Vincenzo Librandi, Nov 14 2018
CROSSREFS
Sequence in context: A173421 A085744 A163719 * A276286 A125440 A122732
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 22 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 April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)