A135174 a(n) = 5^prime(n) - 3^prime(n) + 2^prime(n).
20, 106, 2914, 76066, 48653026, 1219116994, 762810444034, 19072324590946, 11920834820287906, 186264446293255209154, 4656612255406143777826, 72759575691550490581159234, 45474735052173417717604422274, 1136868376887903338795354772706, 710542735733511371652904252645666
Offset: 1
Examples
a(4)=76066 because the 4th prime number is 7, 5^7=78125, 3^7=2187, 2^7=128 and 78125-2187+128=76066.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..200
Programs
-
Magma
[5^p-3^p+2^p: p in PrimesUpTo(100)]; // Vincenzo Librandi, Dec 14 2010
-
Mathematica
Table[5^p-3^p+2^p,{p,Prime[Range[20]]}] (* Harvey P. Dale, Dec 12 2013 *)
Extensions
More terms from Vincenzo Librandi, Dec 14 2010