OFFSET
1,1
FORMULA
EXAMPLE
a(1) = 5^(2 - 1) + (5^2 - 1) = 29.
MATHEMATICA
Table[5^(Prime[n] - 1) + (5^Prime[n] - 1), {n, 1, 15}] (* Stefan Steinerberger, Feb 28 2006 *)
PROG
(PARI) main(m)=forprime(p=2, 100, print1(", ", 5^(p-1) + (5^p - 1))) \\ Anders Hellström, Aug 26 2015
(Magma) [5^(NthPrime(n)-1) + 5^NthPrime(n) - 1: n in [1..20]]; // Vincenzo Librandi, Aug 27 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 23 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
a(14) from Vincenzo Librandi, Aug 27 2015
STATUS
approved