Happy number calculator
Find out whether a number is 'happy'. Repeatedly replace it with the sum of the squares of its digits: if you reach 1 it is happy; if you fall into the 4-16-37-58-89-145-42-20 loop it is unhappy. See the verdict and the full chain of steps.
Related tools
All Sequences & series tools →The Happy number calculator turns Positive integer into Verdict, Steps, Chain, instantly and for free. For instance, with Positive integer = 19 it returns Verdict = HAPPY, Steps = 4 and Chain = 19 → 82 → 68 → 100 → 1.
How to use it
- Enter your values: Positive integer.
- Read the result instantly: Verdict, Steps, Chain.
Frequently asked questions
What does the Happy number calculator actually compute?
It takes Positive integer and derives Verdict, Steps and Chain from them. The calculation is live as you type, so the result updates on every change.
What information do I need to provide?
A single value: Positive integer. Nothing else is required — no account, no file upload.
Can you show a worked example?
With Positive integer = 19, the calculator returns Verdict = HAPPY, Steps = 4 and Chain = 19 → 82 → 68 → 100 → 1. Those figures come from running this exact tool, so you can reproduce them by entering the same values.
What happens if I enter larger values?
It moves a lot. Using Positive integer = 38 instead, Steps goes from 4 to 10 — which is why it is worth testing a few scenarios rather than trusting a single figure.
What does it give for smaller values?
Scaled down to Positive integer = 10, Steps comes out at 1. The relationship is worth checking at both ends before you rely on a single result.
When would I actually use this?
Finding the nth term without listing every one before it, summing a long run in one step, and recognising which family a sequence belongs to.
What is the most common mistake?
Starting the index at the wrong end. Whether the first term is a₀ or a₁ shifts every result by one position, and the two conventions are both common.
How accurate is it, and what are the limits?
A happy number reaches 1; an unhappy one loops forever.
What is the difference between the Happy number calculator and the Catalan number generator?
This one returns Verdict and Steps; the Catalan number generator returns Catalan number Cₙ and Number of digits. That is the whole difference — open the one whose figure you need.
Is there a tool for the next step?
Fibonacci Number Checker is the closest one after this: Test any number up to 60 digits with the exact 5n^2 +/- 4 identity, with its index, its neighbours in the sequence and the ratio compared with the golden ratio.