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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022852 Integer nearest n * e, where e is the natural log base. 5
0, 3, 5, 8, 11, 14, 16, 19, 22, 24, 27, 30, 33, 35, 38, 41, 43, 46, 49, 52, 54, 57, 60, 63, 65, 68, 71, 73, 76, 79, 82, 84, 87, 90, 92, 95, 98, 101, 103, 106, 109, 111, 114, 117, 120, 122, 125, 128, 130, 133, 136, 139, 141, 144, 147, 150, 152, 155, 158, 160 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

A022843(n) <= a(n) <= A121384(n). - Reinhard Zumkeller, Mar 17 2015

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..1000

EXAMPLE

2 * e = 5.436563656918..., so a(2) = 5.

3 * e = 8.1548454853771357..., so a(3) = 8.

4 * e = 10.87312731383618..., so a(4) = 11.

MATHEMATICA

Round[E * Range[0, 60]] (* Harvey P. Dale, Jan 08 2014 *)

PROG

(PARI) a(n)=n*exp(1)\1 \\ Charles R Greathouse IV, Jan 08 2014

(Haskell)

a022852 = round . (* exp 1) . fromIntegral

-- Reinhard Zumkeller, Mar 17 2015

(MAGMA) [Round(n*Exp(1)): n in [0..60]]; // G. C. Greubel, Sep 29 2018

(Scala) (0L to 59L).map(n => Math.round(n * Math.E)) // Alonso del Arte, Dec 14 2018

CROSSREFS

Cf. A001113, A022843, A121384.

Sequence in context: A240603 A079392 A185723 * A180124 A095375 A129260

Adjacent sequences:  A022849 A022850 A022851 * A022853 A022854 A022855

KEYWORD

nonn

AUTHOR

Clark Kimberling

EXTENSIONS

Zero prepended by Harvey P. Dale, Jan 08 2014

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 November 23 17:41 EST 2020. Contains 338595 sequences. (Running on oeis4.)