Happy Number Checker

  scripts
  sprites
See inside
Instructions

Press the space bar or green flag to see if a number is a happy number!

Notes and Credits

1Happy numbers are numbers which come out of the process of squaring their digits, and then adding them up. Let's take 7 as an example:

7^2=49

We then do the same with 49:

4^2+9^2=97

We keep on taking these numbers and doing the same thing to them until we either reach 1 (in which case it is a happy number) or are stuck in a cycle (in which case it is an unhappy number)

Shared: 27 Feb 2015 Modified: 15 Sep 2016
Favorite this project 0
Love this project 0
Total views 62
View the remix tree  2
  
More projects by Eulguass