If finding such a numbers is much more difficult than checking if a number satisfies the requirements then it could be used in cryptography as an alternative to finding prime numbers or generating hashes. Although I am not sure there are enough of these numbers for any arbitrary number of squares to make it practical.