login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A293324 The integer k that minimizes |k/2^n - 1/tau|, where tau = (1+sqrt(5))/2 = golden ratio. 3
1, 1, 2, 5, 10, 20, 40, 79, 158, 316, 633, 1266, 2531, 5063, 10126, 20252, 40503, 81007, 162014, 324028, 648056, 1296111, 2592222, 5184445, 10368890, 20737779, 41475559, 82951118, 165902236, 331804471, 663608942, 1327217885, 2654435769, 5308871539 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = floor(1/2 + r*2^n), where r = (-1+sqrt(5))/2.
a(n) = A293322(n) if (fractional part of r*2^n) < 1/2, else a(n) = A293323(n).
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 *)
CROSSREFS
Sequence in context: A222082 A327287 A296122 * A284904 A084215 A024810
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 07 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)