# Happy / Sad Number Calculator | Sum of Digits

A* happy number* is defined by the following process.

1. Starting with any positive integer,

2. Replacing the number by the sum of the squares of its digits,

3. Repeating the process until the number reach 1.

4. If the number reaches 1 at the end of the process, the number is said to be Happy, else, unhappy or sad.

Below online Happy / Sad Number Calculator will help you to check out if a number is happy or sad.

## Happy / Sad Number Calculation

A* happy number* is defined by the following process.

1. Starting with any positive integer,

2. Replacing the number by the sum of the squares of its digits,

3. Repeating the process until the number reach 1.

4. If the number reaches 1 at the end of the process, the number is said to be Happy, else, unhappy or sad.

Below online Happy / Sad Number Calculator will help you to check out if a number is happy or sad.

Code to add this calci to your website

#### Example

**Let us Consider, **

Positive Integer = 103

Sum of Digits of 103 = 1² + 0² + 3² = 1 + 0 + 9 = 10

10 = 1² + 0² = 1 + 0 = 1

Solution, 103 is a happy number

*Happy Number* belongs to Recreational Mathematics