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!)
A138405 a(n) = prime(n)^5 - prime(n)^2. 4
28, 234, 3100, 16758, 160930, 371124, 1419568, 2475738, 6435814, 20510308, 28628190, 69342588, 115854520, 147006594, 229342798, 418192684, 714920818, 844592580, 1350120618, 1804224310, 2073066264, 3077050158, 3939033754, 5584051528, 8587330848, 10510090300 (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) = A001248(n)*(A030078(n) - 1). - Elmo R. Oliveira, Jan 14 2023

From Alois P. Heinz, Jan 17 2023: (Start)

a(n) = 2 * A138431(n).

a(n) = A050997(n) - A001248(n). (End)

MATHEMATICA

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

PROG

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

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

CROSSREFS

Cf. A001248, A030078, A050997, A138431.

Sequence in context: A126523 A115224 A135497 * A024015 A223347 A242436

Adjacent sequences: A138402 A138403 A138404 * A138406 A138407 A138408

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 7 22:10 EST 2023. Contains 360132 sequences. (Running on oeis4.)