login
A293322
Greatest integer k such that k/2^n < 1/tau, where tau = (1+sqrt(5))/2 = golden ratio.
3
0, 1, 2, 4, 9, 19, 39, 79, 158, 316, 632, 1265, 2531, 5062, 10125, 20251, 40503, 81006, 162013, 324027, 648055, 1296111, 2592222, 5184444, 10368889, 20737779, 41475558, 82951117, 165902235, 331804471, 663608942, 1327217884, 2654435769, 5308871538
OFFSET
0,3
LINKS
FORMULA
a(n) = floor((r*2^n)), where r = (-1+sqrt(5))/2.
a(n) = A293323(n) - 1.
MATHEMATICA
z = 120; r = -1+GoldenRatio;
Table[Floor[r*2^n], {n, 0, z}]; (* A293322 *)
Table[Ceiling[r*2^n], {n, 0, z}]; (* A293323 *)
Table[Round[r*2^n], {n, 0, z}]; (* A293324 *)
PROG
(PARI) a(n) = 2^n*(sqrt(5)-1)\2; \\ Altug Alkan, Oct 08 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 07 2017
STATUS
approved