In how many ways can 81 be written as the sum of three positive perfect squares if the order of the three perfect squares does not matter?
There is only one way: 81 = 1^2 + 4^2 + 8^2.