On Sep 1, 2006, at 7:58 AM, Shane Emmons wrote:

> Sorry, I should have clarified that a Happy number results in 1,  
> and an
> Unhappy number results in an infinite loop.

That's not quite what the cited article says. it says that happy  
numbers result in an infinite loop on 1 and unhappy numbers result in  
an infinite loop on the series: 4, 16, 37, 58, 89, 145, 42, 20,  
4, ... and that there are no other possibilities.
>
> On 9/1/06, William Crawford <wccrawford / gmail.com> wrote:
>>
>> James Gray wrote:
>> > On Sep 1, 2006, at 8:41 AM, Peter Hickman wrote:
>> >
>> >> Doesn't this mean that all numbers are happy?
>> >
>> > Here's some further reading for those still confused:
>> >
>> > http://mathworld.wolfram.com/HappyNumber.html
>> >
>> > James Edward Gray II
>>
>> Wow.  Lots of strategy on that page.  Almost like cheating ;)
>>
>> On a side note...  Did anyone NOT calculate 3 by hand?  Heh.
>>
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>>
>
>
> -- 
> --- Shane Emmons <semmons99 / gmail.com>


--
Vegetarians eat Vegetables, Humanitarians frighten me