Yesterday, nobody contributed anything. :-( The official answer is: floor(sqrt(floor(x ^ 3))).