A bit off topic, but I found this interesting math trick, called Kaprekar's constant.
If you take four digits and perform a series of simple functions upon them, the end result is 6174. You cannot enter four of the same digits, or all zero's, because it will result in zero. Three of the same digits, along with a +1 or -1 of that same digit (i.e. 1112, 2232, 4333) will result in 999 and finally in zero.
