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!)
A138404 a(n) = prime(n)^5 - prime(n). 10
30, 240, 3120, 16800, 161040, 371280, 1419840, 2476080, 6436320, 20511120, 28629120, 69343920, 115856160, 147008400, 229344960, 418195440, 714924240, 844596240, 1350125040, 1804229280, 2073071520, 3077056320, 3939040560 (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

FORMULA

a(n) = A050997(n) - A000040(n). - Elmo R. Oliveira, Jan 27 2023

MATHEMATICA

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

#^5-#&/@Prime[Range[30]] (* Harvey P. Dale, Dec 25 2022 *)

PROG

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

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

CROSSREFS

Cf. A000040, A050997.

Sequence in context: A008385 A061167 A189495 * A136381 A042752 A334981

Adjacent sequences: A138401 A138402 A138403 * A138405 A138406 A138407

KEYWORD

nonn,easy,changed

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 January 29 10:31 EST 2023. Contains 359916 sequences. (Running on oeis4.)