Can you explain how this card trick works?
Take any whole number between 1 and 999, add the squares of the
digits to get a new number. Make some conjectures about what
happens in general.
A combination mechanism for a safe comprises thirty-two tumblers
numbered from one to thirty-two in such a way that the numbers in
each wheel total 132... Could you open the safe?