Problem 3932 · Medium
Count the powers x to the k that land inside the range, stopping once a power passes the upper bound.
Open the interactive visualisation