A135661 a(n) = floor(sqrt(n) - n^(1/3)).
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 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, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[Floor(n^(1/2)-n^(1/3)): n in [1..100]]; // Vincenzo Librandi, Feb 18 2013
-
Mathematica
Table[Floor[n^(1/2) - n^(1/3)], {n, 100}] (* Vincenzo Librandi, Feb 18 2013 *)
Extensions
Offset corrected by M. F. Hasler, Nov 17 2008