OFFSET
1,1
LINKS
Ivan Panchenko, Table of n, a(n) for n = 1..200
FORMULA
EXAMPLE
a(4)=2059 because the 4th prime number is 7, 3^7=2187, 2^7=128 and 2187-128=2059.
MATHEMATICA
3^#-2^#&/@Prime[Range[20]] (* Harvey P. Dale, Jun 20 2011 *)
PROG
(Magma) [3^p-2^p: p in PrimesUpTo(100)]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Nov 25 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2010
STATUS
approved