I got one solution by induction, for n odd and n even;
E.g. if n is odd, $10^n = 10^{n-1} \times 10 \times (10^{k} - 1)$;
Showing by induction that $10(10^k - 1) = p_{1}^{2} + ... p_{18k}^{2}$:
P(1) : $90 = 9 \times 1 + 9 \times 9$ --> 18 perfect squares
P(2) : $990 = 9 \times 1 + 9 \times 9 + 9 \times 6^{2} + 9\times 8^{2} $--> 36 perfect squares
Assuming P(k) true, we prove P(k+2), by replacing 10^k with the sum of squares from P(k) + 1, and rearranging to obtain 18k +36 squares.
And, similarly, for n even (showing that $100 * (10^k - 1)$ can be written as a sum of 18k squares.