OFFSET
1,1
EXAMPLE
a(4)=83104 because the 4th prime is 7, 5*7^5=84035, 3*7^3=1029, 2*7^2=98 and we can write 84035 - 1029 + 98 = 83104.
MATHEMATICA
5#^5-3#^3+2#^2&/@Prime[Range[30]] (* Harvey P. Dale, Mar 07 2017 *)
PROG
(Magma) [5*p^5-3*p^3+2*p^2: p in PrimesUpTo(200)] // Vincenzo Librandi, Dec 15 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Nov 05 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 15 2010
STATUS
approved