OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
FORMULA
p=A000040(n): a(n)= 5^p + 3^p - 2^p.
EXAMPLE
a(4)=80184 because the 4th prime number is 7, 5^7=78125, 3^7=2187, 2^7=128 and 78125+2187-128=80184.
MATHEMATICA
5^#+3^#-2^#&/@Prime[Range[20]] (* Harvey P. Dale, Apr 04 2011 *)
Table[5^p + 3^p - 2^p, {p, Prime[Range[20]]} (* Vincenzo Librandi, May 24 2014 *)
PROG
(Magma)[5^p+3^p-2^p: p in PrimesUpTo(100)]; // 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