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!)
A233208 A measure of quality (the higher the better) for the approximation to e by rationals A022852(n)/n. 1
3, 2, 6, 7, 2, 3, 35, 3, 2, 5, 10, 2, 2, 17, 4, 2, 4, 14, 2, 2, 11, 5, 2, 4, 23, 3, 2, 8, 5, 2, 3, 66, 3, 2, 7, 7, 2, 3, 76, 3, 2, 5, 8, 2, 3, 24, 4, 2, 5, 11, 2, 2, 14, 4, 2, 4, 17, 2, 2, 10, 5, 2, 3, 33, 3, 2, 8, 6, 2, 3, 502, 3, 2, 6, 7, 2, 3, 38, 3, 2, 5, 9, 2, 2, 18, 4, 2, 4, 13, 2, 2, 12, 5, 2, 4, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) is the greatest natural number such that abs( n*e-A022852(n) ) < 1/a(n). Trivially a(n)>=2. a(n)=2 iff n is in A191104 (easy proof).
LINKS
FORMULA
a(n) = floor( 1 / abs( n*e-A022852(n) ) ).
EXAMPLE
a(7) = 35 because floor(1/abs(7*e-19)) = floor(1/0.0279727...) = floor(35.749...) = 35.
PROG
(PARI) a(n)=floor(1/abs(n*exp(1)-round(n*exp(1)))) \\ Ralf Stephan, Dec 13 2013
CROSSREFS
Cf. A022852. For records see A233209, A007677.
Sequence in context: A087237 A275630 A102004 * A196518 A207636 A125764
KEYWORD
nonn
AUTHOR
Franz Vrabec, Dec 06 2013
EXTENSIONS
More terms from Ralf Stephan, Dec 13 2013
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 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)