Problem 970 · Medium

Powerful Integers

Find every distinct sum of a power of x and a power of y that does not exceed a bound. The visual lays out the powers on a grid and marks the sums that fall within the limit.

Open the interactive visualisation