login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A293336 The integer k that minimizes |k/2^n - sqrt(1/5))|. 3
0, 1, 2, 4, 7, 14, 29, 57, 114, 229, 458, 916, 1832, 3664, 7327, 14654, 29309, 58617, 117234, 234469, 468937, 937875, 1875750, 3751500, 7502999, 15005998, 30011996, 60023993, 120047985, 240095971, 480191942, 960383883, 1920767767, 3841535534, 7683071068 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Clark Kimberling, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = floor(1/2 + r*2^n), where r = sqrt(1/5).

a(n) = A293334(n) if (fractional part of r*2^n) < 1/2, else a(n) = A293335(n).

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

Cf. A001633, A293333, A293334, A293335.

Sequence in context: A119342 A119268 A002989 * A321401 A000671 A199888

Adjacent sequences:  A293333 A293334 A293335 * A293337 A293338 A293339

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Oct 10 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 16:02 EDT 2020. Contains 336505 sequences. (Running on oeis4.)