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!)
A138408 a(n) = prime(n)^6 - prime(n). 4
62, 726, 15620, 117642, 1771550, 4826796, 24137552, 47045862, 148035866, 594823292, 887503650, 2565726372, 4750104200, 6321363006, 10779215282, 22164361076, 42180533582, 51520374300, 90458382102, 128100283850 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

Index to sequences related to prime powers

MATHEMATICA

a = {}; Do[p = Prime[n]; AppendTo[a, p^6 - p], {n, 1, 50}]; a

#^6-#&/@Prime[Range[20]] (* Harvey P. Dale, Jun 09 2013 *)

PROG

(PARI) forprime(p=2, 1e3, print1(p^6-p", ")) \\ Charles R Greathouse IV, Jun 16 2011

(Magma) [NthPrime((n))^6 - NthPrime((n)): n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011

CROSSREFS

Cf. A030516.

Sequence in context: A286212 A196413 A131473 * A234482 A157499 A249235

Adjacent sequences: A138405 A138406 A138407 * A138409 A138410 A138411

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 February 4 16:39 EST 2023. Contains 360057 sequences. (Running on oeis4.)