OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
a(4)=17199 because the 4th prime number is 7, 7^5=16807, 7^3=343, 7^2=49 and 16807+343+49=17199.
MATHEMATICA
#^5 + #^3 + #^2&/@Prime[Range[50]] (* Vincenzo Librandi, May 22 2014 *)
PROG
(Magma)[p^5+p^3+p^2: p in PrimesUpTo(4200)]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Nov 25 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2010
STATUS
approved