The squares are not necessarily unique. For example k=5: 169=1+4+4+16+144.
This should be done without a brute force program.
Owl provides a good method here but has a typo of 152 instead of 156.
blackjack
flooble's webmaster puzzle