Browse · MATH
Printjmc
number theory intermediate
Problem
Both and are positive integers and . When is the greatest possible value less than 399, what is the sum of and ?
Solution
The largest perfect square less than 399 is , and the largest perfect cube less than 399 is . Any perfect fourth power is already a square, so we may skip to the largest fifth power less than , which is , Again, a sixth power is a square (and a cube), so we look to the largest seventh power less than , which is Eighth, ninth and tenth powers may be skipped again because they would already have been included as perfect squares or cubes, and there is no eleventh power less than other than . Thus the largest perfect power less than 399 is , and .
Final answer
21