login
A356256
The lesser of the 2^n-th twin prime pair (A001359).
0
3, 5, 17, 71, 227, 821, 2087, 5021, 13757, 33149, 81197, 186647, 435401, 1002719, 2241779, 5060171, 11296421, 25121207, 55559507, 121831601, 266187827, 578653919, 1253242691, 2705496551, 5820833729, 12491149637, 26733605159, 57077657321, 121575837179, 258438193379
OFFSET
0,1
FORMULA
a(n) = A001359(2^n).
EXAMPLE
a(0) = 3 since 3 is the lesser of the first (2^0) twin prime pair;
a(1) = 5 since 5 is the lesser of the second (2^1) twin prime pair;
a(2) = 17 since 17 is the lesser of the fourth (2^2) twin prime pair;
a(3) = 71 since 71 is the lesser of the eighth (2^3) twin prime pair; etc.
MATHEMATICA
c = 0; p = 2; q = 3; lst = {}; Do[ While[c < 2^n, If[q == p + 2 , c++]; p = q; q = NextPrime@ q]; Print[{n, p - 2}]; AppendTo[lst, p - 2], {n, 0, 29}]
CROSSREFS
Cf. A001359.
Sequence in context: A259908 A137460 A319908 * A232238 A102295 A365518
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 03 2022
STATUS
approved