This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A022852 #23 Sep 08 2022 08:44:47 %S A022852 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 A022852 65,68,71,73,76,79,82,84,87,90,92,95,98,101,103,106,109,111,114,117, %U A022852 120,122,125,128,130,133,136,139,141,144,147,150,152,155,158,160 %N A022852 Integer nearest n * e, where e is the natural log base. %C A022852 A022843(n) <= a(n) <= A121384(n). - _Reinhard Zumkeller_, Mar 17 2015 %H A022852 Reinhard Zumkeller, <a href="/A022852/b022852.txt">Table of n, a(n) for n = 0..1000</a> %e A022852 2 * e = 5.436563656918..., so a(2) = 5. %e A022852 3 * e = 8.1548454853771357..., so a(3) = 8. %e A022852 4 * e = 10.87312731383618..., so a(4) = 11. %t A022852 Round[E * Range[0, 60]] (* _Harvey P. Dale_, Jan 08 2014 *) %o A022852 (PARI) a(n)=n*exp(1)\1 \\ _Charles R Greathouse IV_, Jan 08 2014 %o A022852 (Haskell) %o A022852 a022852 = round . (* exp 1) . fromIntegral %o A022852 -- _Reinhard Zumkeller_, Mar 17 2015 %o A022852 (Magma) [Round(n*Exp(1)): n in [0..60]]; // _G. C. Greubel_, Sep 29 2018 %o A022852 (Scala) (0L to 59L).map(n => Math.round(n * Math.E)) // _Alonso del Arte_, Dec 14 2018 %Y A022852 Cf. A001113, A022843, A121384. %K A022852 nonn %O A022852 0,2 %A A022852 _Clark Kimberling_ %E A022852 Zero prepended by _Harvey P. Dale_, Jan 08 2014