login
A293334
Greatest integer k such that k/2^n < sqrt(1/5).
3
0, 0, 1, 3, 7, 14, 28, 57, 114, 228, 457, 915, 1831, 3663, 7327, 14654, 29308, 58617, 117234, 234468, 468937, 937874, 1875749, 3751499, 7502999, 15005998, 30011996, 60023992, 120047985, 240095970, 480191941, 960383883, 1920767766, 3841535533, 7683071067
OFFSET
0,4
LINKS
FORMULA
a(n) = floor(r*2^n), where r = sqrt(1/5).
a(n) = A293335(n) - 1.
MATHEMATICA
z = 120; r = Sqrt[1/5];
Table[Floor[r*2^n], {n, 0, z}]; (* A293334 *)
Table[Ceiling[r*2^n], {n, 0, z}]; (* A293335 *)
Table[Round[r*2^n], {n, 0, z}]; (* A293336 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 10 2017
STATUS
approved