To determine if 172 is a happy number or unhappy number, we square each digit in 172 and then add those numbers together.
Then we repeat the process for the result until either the result turns to 1 or we realize it will never be 1.
If it becomes a 1, then it is a happy numbers. Otherwise, it is an unhappy number.
Here is the math to make it more clear:
12 + 72 + 22 = 54
52 + 42 = 41
42 + 12 = 17
We kept doing the math above and it just started looping the same numbers and never got to 1. Since, we did not get to 1,
172 is an:
Unhappy Number
Is 173 happy or unhappy number?
Do you think you can figure out if a number is happy or unhappy on your own know? Try the next number on our list and then check your answer here.
|
|