Take a no, eg 9. Square it.
92=81

Now add the digits

8+1= 9 (Which is the original number)

How do I do this using Functions?
It should work for any number. 9, 55, 395 Any.