login
A293340
Least integer k such that k/2^n > 1/e.
4
1, 1, 2, 3, 6, 12, 24, 48, 95, 189, 377, 754, 1507, 3014, 6028, 12055, 24110, 48219, 96438, 192875, 385750, 771500, 1542999, 3085997, 6171993, 12343986, 24687972, 49375943, 98751886, 197503772, 395007543, 790015085, 1580030169, 3160060338, 6320120675
OFFSET
0,3
LINKS
FORMULA
a(n) = ceiling(r*2^n), where r = 1/e.
a(n) = A293339(n) + 1.
MATHEMATICA
z = 120; r = 1/E;
Table[Floor[r*2^n], {n, 0, z}]; (* A293339 *)
Table[Ceiling[r*2^n], {n, 0, z}]; (* A293340 *)
Table[Round[r*2^n], {n, 0, z}]; (* A293341 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
_Clark Kimberling_, Oct 10 2017
STATUS
approved