login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A293329 The integer k that minimizes |k/2^n - sqrt(1/3))|. 3
1, 1, 2, 5, 9, 18, 37, 74, 148, 296, 591, 1182, 2365, 4730, 9459, 18919, 37837, 75674, 151349, 302698, 605396, 1210791, 2421583, 4843165, 9686330, 19372660, 38745321, 77490641, 154981283, 309962566, 619925131, 1239850262, 2479700525, 4959401049, 9918802098 (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/3).

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

MATHEMATICA

z = 120; r = Sqrt[1/3];

Table[Floor[r*2^n], {n, 0, z}];   (* A293327 *)

Table[Ceiling[r*2^n], {n, 0, z}]; (* A293328 *)

Table[Round[r*2^n], {n, 0, z}]; (* A293329 *)

CROSSREFS

Cf. A002194, A094386, A293327, A293328.

Sequence in context: A077947 A077972 A293354 * A152546 A286713 A213544

Adjacent sequences:  A293326 A293327 A293328 * A293330 A293331 A293332

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 March 20 23:22 EDT 2019. Contains 321354 sequences. (Running on oeis4.)