login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138458 a(n) = ((n-th prime)^6-(n-th prime)^4))/24. 2
2, 27, 625, 4802, 73205, 199927, 1002252, 1954815, 6156502, 24754835, 36940840, 106827177, 197803270, 263247677, 448930652, 923186277, 1757017345, 2146105355, 3768259627, 5336453010, 6304409502, 10127021060, 13620538127 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..23.

MATHEMATICA

a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/24], {n, 1, 24}]; a

(#^6-#^4)/24&/@Prime[Range[30]] (* Harvey P. Dale, Apr 27 2018 *)

PROG

(PARI) forprime(p=2, 1e3, print1((p^6-p^4)/24", ")) \\ Charles R Greathouse IV, Jul 15 2011

CROSSREFS

Sequence in context: A121137 A203429 A153850 * A090248 A300591 A251693

Adjacent sequences:  A138455 A138456 A138457 * A138459 A138460 A138461

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 2 20:25 EST 2021. Contains 349445 sequences. (Running on oeis4.)