login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = ceiling(e*sqrt(n)).
16

%I #15 Aug 09 2015 02:19:14

%S 0,3,4,5,6,7,7,8,8,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,

%T 14,15,15,15,15,16,16,16,16,17,17,17,17,17,18,18,18,18,19,19,19,19,19,

%U 20,20,20,20,20,20,21,21,21,21,21,22,22,22,22,22,22,23,23,23,23,23,23,24

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

%H Vincenzo Librandi, <a href="/A121857/b121857.txt">Table of n, a(n) for n = 0..1000</a> (indices changed and term 1000 added by Ivan Panchenko)

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

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Aug 30 2006

%E Offset corrected by _Ivan Panchenko_, Nov 13 2013