Problem

Source: 2023 NZMO - New Zealand Maths Olympiad Round 1 p3

Tags: algebra



Find the sum of the smallest and largest possible values for $x$ which satisfy the following equation. $$9^{x+1} + 2187 = 3^{6x-x^2}.$$