login
a(n) = ceiling(sqrt(n) - n^(1/4)).
14

%I #14 Sep 08 2022 08:45:32

%S 0,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,

%T 4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,

%U 6,6,6,6,6,6,6,6,6,6

%N a(n) = ceiling(sqrt(n) - n^(1/4)).

%H Vincenzo Librandi, <a href="/A135662/b135662.txt">Table of n, a(n) for n = 1..1000</a>

%t Table[Ceiling[n^(1/2) - n^(1/4)], {n, 100}] (* _Vincenzo Librandi_, Feb 16 2013 *)

%o (Magma)[Ceiling(n^(1/2) - n^(1/4)): n in [1..100]]; // _Vincenzo Librandi_, Feb 16 2013

%Y Cf. A000196, A048766, A134914, A135660, A135661.

%K nonn,easy

%O 1,7

%A _Mohammad K. Azarian_, Nov 25 2007

%E Offset corrected by _M. F. Hasler_, Nov 17 2008