# Of Cubes and Squares

Find the sum of all positive integers $$n$$ for which both $$n^2$$ and $$n^3$$ together contain each digit (including $$0$$) exactly once.

×