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!)
A293361 The integer k that minimizes |k/2^n - e^2|. 3
7, 15, 30, 59, 118, 236, 473, 946, 1892, 3783, 7566, 15133, 30266, 60531, 121062, 242125, 484249, 968498, 1936997, 3873993, 7747987, 15495974, 30991948, 61983895, 123967790, 247935580, 495871161, 991742322, 1983484643, 3966969287, 7933938573, 15867877147 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = floor(1/2 + (e^2)*2^n).
a(n) = A293359(n) if (fractional part of (e^2)*2^n) < 1/2, else a(n) = A293360(n).
MATHEMATICA
z = 120; r = E^2;
Table[Floor[r*2^n], {n, 0, z}]; (* A293359 *)
Table[Ceiling[r*2^n], {n, 0, z}]; (* A293360 *)
Table[Round[r*2^n], {n, 0, z}]; (* A293361 *)
CROSSREFS
Sequence in context: A300110 A139597 A210675 * A117747 A179882 A317510
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 11 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 March 28 13:42 EDT 2024. Contains 371254 sequences. (Running on oeis4.)