login
a(n) = ceiling(sqrt(n) - n^(1/5)).
11

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

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

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

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

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

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

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

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

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

%K nonn,easy

%O 1,6

%A _Mohammad K. Azarian_, Nov 25 2007

%E Offset corrected by _Mohammad K. Azarian_, Nov 19 2008