The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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
COMMENTS
Subsequence of A061167. - Bernard Schott, Feb 06 2023
LINKS
FORMULA
a(n) = A050997(n) - A000040(n). - Elmo R. Oliveira, Jan 27 2023
From Bernard Schott, Feb 09 2023: (Start)
a(n) = A061167(A000040(n)).
a(n) = 30 * A138430(n).
a(n) = A000040(n) * A006093(n) * A008864(n) * A066872(n). (End)
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
Sequence in context: A008385 A061167 A189495 * A136381 A042752 A334981
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 June 14 20:28 EDT 2024. Contains 373401 sequences. (Running on oeis4.)