A number is lucky when it is divisible by the floor of its square root. Count the lucky numbers in a range that can reach 10^18.
A number is lucky when it is divisible by the floor of its square root. Count the lucky numbers in a range that can reach 10^18.
Opens with the full question.