login
A135181
p^5 + p^3 - p^2. Exponents are the prime numbers in decreasing order and p is the n-th prime.
1
36, 261, 3225, 17101, 162261, 373321, 1424481, 2482597, 6447981, 20534697, 28657981, 69393241, 115923441, 147086101, 229446621, 418341561, 715126197, 844819561, 1350421381, 1804582221, 2073455281, 3077543197, 3939605541, 5584756497, 8588243521, 10511120601, 11593822861, 14026730901, 15387522697
OFFSET
1,1
LINKS
FORMULA
p=A000040(n): a(n)= p^5 + p^3 - p^2.
EXAMPLE
a(4)=17101 because the 4th prime number is 7, 7^5=16807, 7^3=343, 7^2=49 and 16807+343-49=17101.
MATHEMATICA
#^5+#^3-#^2&/@Prime[Range[30]] (* Harvey P. Dale, Apr 10 2012 *)
PROG
(Magma)[p^5+p^3-p^2: p in PrimesUpTo(4200)]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
Cf. p^2: A001248. p^3: A030078. p^5: A050997.
Sequence in context: A115332 A133072 A115223 * A220159 A202958 A187511
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Nov 25 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2010
STATUS
approved