A135660 a(n) = ceiling(sqrt(n) - n^(1/3)).
0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..999
Programs
-
Magma
[Ceiling(n^(1/2) - n^(1/3)): n in [1..100]]; // Vincenzo Librandi, Feb 16 2013
-
Mathematica
Table[Ceiling[n^(1/2) - n^(1/3)], {n, 100}] (* Vincenzo Librandi, Feb 16 2013 *)
Extensions
Changed offset from 2 to 1 by Vincenzo Librandi, Feb 16 2013
Comments