Page 1 of 1 [ 3 posts ] 

X_Parasite
Veteran
Veteran

User avatar

Joined: 28 Nov 2006
Age: 36
Gender: Male
Posts: 716
Location: Right here.

08 Oct 2009, 6:38 pm

A happy number is defined by the following process. Starting with any positive integer, replace the number with the sum of the squares of its digits, and repeat this process until the number equals 1, where it will stay, or it loops endlessly in a cycle that does not include 1. Numbers for which this process ends in 1 are happy numbers :) , while those that do not end in 1 are sad numbers. :(

First number:
1



Last edited by X_Parasite on 11 Oct 2009, 3:01 pm, edited 1 time in total.

Dhp
Veteran
Veteran

User avatar

Joined: 30 Jul 2007
Age: 52
Gender: Male
Posts: 538

08 Oct 2009, 9:56 pm

Next number = 7.



X_Parasite
Veteran
Veteran

User avatar

Joined: 28 Nov 2006
Age: 36
Gender: Male
Posts: 716
Location: Right here.

08 Oct 2009, 10:18 pm

10