login
A098117
a(n) = 5^(prime(n) - 1) + 5^prime(n) - 1.
0
29, 149, 3749, 93749, 58593749, 1464843749, 915527343749, 22888183593749, 14305114746093749, 223517417907714843749, 5587935447692871093749, 87311491370201110839843749, 54569682106375694274902343749, 1364242052659392356872558593749
OFFSET
1,1
FORMULA
a(n) = A198764(prime(n)-1) = A198764(A000040(n)-1). - Michel Marcus, Aug 27 2015
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
Cf. A097743.
Sequence in context: A221981 A139997 A103565 * A101096 A142827 A142938
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