login
A264735
a(n) = prime(2^(n-1)*(2*n-1)), n >= 1.
1
2, 13, 71, 263, 827, 2377, 6379, 16603, 41611, 101573, 243473, 573637, 1333613, 3065983, 6975971, 15746347, 35277211, 78510373, 173717329, 382404863, 837870343, 1828047503, 3973066781, 8604768101, 18576139177, 39983413319
OFFSET
1,1
FORMULA
a(n) = A000040(2^(n-1)*(2*n-1)).
a(n) = A000040(A014480(n-1)). - Michel Marcus, Nov 23 2015
MATHEMATICA
Table[Prime[2^(n - 1)*(2*n - 1)], {n, 26}]
PROG
(Magma) [NthPrime(2^(n-1)*(2*n-1)): n in [1..20]]; // Vincenzo Librandi, Nov 23 2015
(PARI) a(n)=if(n<1, print1("Error n < 1"), prime(2^(n-1)*(2*n-1)) \\ Anders Hellström, Nov 23 2015
(Perl) use ntheory ":all"; say "$_ ", nth_prime(2**($_-1) * (2*$_-1)) for 1..50; # Dana Jacobsen, Apr 28 2017
CROSSREFS
Cf. A000040, A014480, A264731 (main diagonal).
Sequence in context: A301944 A128743 A218184 * A289926 A188676 A330499
KEYWORD
nonn
AUTHOR
L. Edson Jeffery, Nov 22 2015
STATUS
approved