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!)
A135180 a(n) = p^5 - p^3 + p^2, where p = prime(n). 1
28, 225, 3025, 16513, 159841, 369265, 1415233, 2469601, 6424705, 20487601, 28600321, 69294673, 115788961, 146930785, 229243393, 418049425, 714722401, 844373041, 1349828833, 1803876481, 2072687905, 3076569601, 3938475745, 5583362401, 8586436993, 10509080401, 11591658625, 14024303713, 15384956401 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
p=A000040(n): a(n) = p^5 - p^3 + p^2.
EXAMPLE
a(4)=16513 because the 4th prime number is 7, 7^5 = 16807, 7^3 = 343, 7^2 = 49 and 16807 - 343 + 49 = 16513.
MATHEMATICA
#^5 - #^3 + #^2 &/@Prime[Range[40]] (* Vincenzo Librandi, May 22 2014 *)
PROG
(Magma)[p^5-p^3+p^2: p in PrimesUpTo(200)]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
Cf. p^2: A001248. p^3: A030078. p^5: A050997.
Sequence in context: A236355 A133071 A339137 * A042524 A125365 A126523
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Nov 25 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2010
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 April 25 11:06 EDT 2024. Contains 371967 sequences. (Running on oeis4.)