What do normal people do when they can't sleep? They count sheep. Being a nerd, I have come up with a mechanism suitable for such people (courtsey EGB): trying to determine whether the number 27 has the Wondrousness Property. A number is said to possess this property if it is reducible to 1 by applying these transformations to it:
1. If it is is even, divide it by 2
2. If it is odd, multiply it by 3 and add 1 to the result
3. If the result is 1, stop; else go to step 1
It goes without saying that you have to perform these computations in your head.
Spoiler: 27 does possess this property, but I can assure you that unless you are an insomniac, you will not work your way to this conclusion within a reasonable amount of time.