-
Notifications
You must be signed in to change notification settings - Fork 0
My implementation of solving happy numbers: add the square of the digits of the number. If the result number you get now is equal to 1, then it is happy. If not, you continue this process with the result number until you either get a number that is equal to 1, or you will find yourselves trapped in a sequence of numbers.
Rickyp/HappyNumbers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
My implementation of solving happy numbers: add the square of the digits of the number. If the result number you get now is equal to 1, then it is happy. If not, you continue this process with the result number until you either get a number that is equal to 1, or you will find yourselves trapped in a sequence of numbers.
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published