%I #23 Sep 08 2022 08:44:47
%S 0,3,5,8,11,14,16,19,22,24,27,30,33,35,38,41,43,46,49,52,54,57,60,63,
%T 65,68,71,73,76,79,82,84,87,90,92,95,98,101,103,106,109,111,114,117,
%U 120,122,125,128,130,133,136,139,141,144,147,150,152,155,158,160
%N Integer nearest n * e, where e is the natural log base.
%C A022843(n) <= a(n) <= A121384(n). - _Reinhard Zumkeller_, Mar 17 2015
%H Reinhard Zumkeller, <a href="/A022852/b022852.txt">Table of n, a(n) for n = 0..1000</a>
%e 2 * e = 5.436563656918..., so a(2) = 5.
%e 3 * e = 8.1548454853771357..., so a(3) = 8.
%e 4 * e = 10.87312731383618..., so a(4) = 11.
%t Round[E * Range[0, 60]] (* _Harvey P. Dale_, Jan 08 2014 *)
%o (PARI) a(n)=n*exp(1)\1 \\ _Charles R Greathouse IV_, Jan 08 2014
%o (Haskell)
%o a022852 = round . (* exp 1) . fromIntegral
%o -- _Reinhard Zumkeller_, Mar 17 2015
%o (Magma) [Round(n*Exp(1)): n in [0..60]]; // _G. C. Greubel_, Sep 29 2018
%o (Scala) (0L to 59L).map(n => Math.round(n * Math.E)) // _Alonso del Arte_, Dec 14 2018
%Y Cf. A001113, A022843, A121384.
%K nonn
%O 0,2
%A _Clark Kimberling_
%E Zero prepended by _Harvey P. Dale_, Jan 08 2014