login
A051438
a(n) = prime(2^n - 1).
8
2, 5, 17, 47, 127, 307, 709, 1613, 3659, 8147, 17851, 38867, 84011, 180497, 386083, 821603, 1742527, 3681113, 7754017, 16290041, 34136021, 71378551, 148948133, 310248233, 645155191, 1339484149, 2777105117, 5750079043, 11891268397, 24563311217, 50685770143
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..78 (calculated using the b-file at A033844; terms 1..57 from Hugo Pfoertner)
FORMULA
a(n) = A181363(2^n - 1). - Reinhard Zumkeller, Oct 16 2010
a(n) = A000040(A000225(n)). - Michel Marcus, Nov 28 2017
a(n) = A151799(A033844(n)). - Amiram Eldar, Jun 30 2024
MATHEMATICA
Prime[2^Range[34] - 1] (* Vladimir Joseph Stephan Orlovsky, Jul 19 2011 *)
PROG
(PARI) a(n)=prime(2^n-1) \\ Charles R Greathouse IV, Sep 28 2015
KEYWORD
nonn
EXTENSIONS
More terms from Michael Lugo (mlugo(AT)thelabelguy.com), Dec 22 1999
STATUS
approved