[go: up one dir, main page]

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!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A125050 A056186 A265387 * A267157 A054135 A171858
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 August 30 02:56 EDT 2024. Contains 375521 sequences. (Running on oeis4.)