Quote:
Originally Posted by enzocreti
How many powers are there less than a given number x?
Is there a function that "counts" the powers less than x?
For example powers less than 10 are three (4,8,9)

powerpi(x)=floor(x^(1/2))+floor(x^(1/3))+floor(x^(1/5))+floor(x^(1/7))+floor(x^(1/11))+...
e.g. powerpi(9453)=97+21+6+3+2+2=131