2007-08-07

Happy (and unhappy) numbers

While watching the Dr. Who episode from season 3 titled "42" last night, David Tennant rattled off:

"Any number that reduces to one when you take the sum of the square of its digits, reduce it and continue iterating until it yields 1, is a happy number. Any number that doesn't, isn't. A happy prime is both happy and prime"
As I've never taken a recreational mathematics course, in my mind's eye all I saw was this:
2007_08_07_happy_numbers

The code for this doodle and other doodles you can use on your blog can be found at Doodles.


If you liked this, I also posted:

.

Related Article Widget by Hoctro

No comments: