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!)
A138450 a(n) = ((n-th prime)^6-(n-th prime^2))/30. 2
2, 24, 520, 3920, 59048, 160888, 804576, 1568184, 4934512, 19827416, 29583424, 85524168, 158336752, 210712040, 359307104, 738811944, 1406017672, 1717345688, 3015279256, 4270009296, 5044474032, 8102914976, 10898012216, 16566042768 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/30, {n, 1, 50}]; a
(#^6-#^2)/30&/@Prime[Range[30]] (* Harvey P. Dale, Jan 23 2019 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/30", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A186414 A359848 A187658 * A262009 A367271 A054946
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008, 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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)