login
a(n) = ceiling(n*e).
5

%I #17 Aug 13 2021 20:13:34

%S 0,3,6,9,11,14,17,20,22,25,28,30,33,36,39,41,44,47,49,52,55,58,60,63,

%T 66,68,71,74,77,79,82,85,87,90,93,96,98,101,104,107,109,112,115,117,

%U 120,123,126,128,131,134,136,139,142,145,147,150,153,155,158,161,164,166

%N a(n) = ceiling(n*e).

%C Because the difference between e=A001113 and the constant 1/(1-theta), theta = A102525, defined in A054414 is only 0.00877, the difference |a(n)-A054414(n)| increases approximately as 0.00877*n. - _R. J. Mathar_, Apr 14 2008

%C A022843(n) <= A022852(n) <= a(n). - _Reinhard Zumkeller_, Mar 17 2015

%H Vincenzo Librandi, <a href="/A121384/b121384.txt">Table of n, a(n) for n = 0..1000</a>

%t Table[Ceiling[n * E], {n, 0, 80}] (* _Vincenzo Librandi_, Feb 22 2013 *)

%o (Haskell)

%o a121384 = ceiling . (* exp 1) . fromIntegral

%o -- _Reinhard Zumkeller_, Mar 17 2015

%Y Cf. A022843, A022852.

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Sep 06 2006