Multiplicative Persistence Calculator
Count how many times you must multiply the digits of a number before reaching a single digit.
What it does
Multiplicative persistence measures how many times the digits of a number must be multiplied together before the result is a single digit. For 39 the products are 27, then 14, then 4, so the persistence is three. The number 39 is the smallest with persistence three.
The idea is a companion to additive persistence, where digits are added instead. Both are simple to describe but lead to difficult questions about how large persistence can become for very long numbers.
The process always terminates because multiplying digits of a number with more than one digit produces a smaller number. Once a zero digit appears, the product is zero and the chain stops at the next step.
This page performs the iteration with exact integer arithmetic and shows the full chain of products. The default value is chosen so the worked example is already visible.
The input limit is one trillion. At that size the chain is still short, and a step guard prevents an endless loop on any input.
How to use
- Enter a whole number n from 0 to 1,000,000,000,000.
- Read the persistence count in the main result box.
- Follow the chain of products beside it.
- Check the final single digit.
- The default n = 39 reproduces the worked example.
- Try n = 25 to see a chain of length two ending at zero.
Formula
- n
- The starting integer.
- product of digits
- The multiplication applied at each step.
- P(n)
- The multiplicative persistence of n.
A number already below ten has persistence zero. If any digit is zero the product is zero, so the chain reaches the single digit zero quickly. The step guard keeps the iteration bounded even for unusually large inputs.
Worked example
Example: n = 39
The page opens with n = 39.
- Multiply the digits: 3 x 9 = 27.
- Multiply again: 2 x 7 = 14.
- Multiply again: 1 x 4 = 4.
- The value 4 is a single digit, so the process stops.
- The tool reports persistence 3, chain 27 -> 14 -> 4, and final value 4.
- For 25 the chain is 10 -> 0 with persistence 2.
Reference table
| n | Chain | Persistence | Final |
|---|---|---|---|
| 7 | none | 0 | 7 |
| 10 | 0 | 1 | 0 |
| 25 | 10 -> 0 | 2 | 0 |
| 39 | 27 -> 14 -> 4 | 3 | 4 |
| 77 | 49 -> 36 -> 18 -> 8 | 4 | 8 |
Limits
- Inputs above one trillion are rejected to keep the printed value short.
- Only base ten digit products are used.
- A step guard bounds the iteration.
- The tool shows the chain but not the intermediate digit lists.
Common mistakes
- Adding the digits instead of multiplying them.
- Counting the starting number as one of the steps.
- Stopping as soon as any digit repeats rather than at one digit.
- Forgetting that a zero digit forces a product of zero.
- Confusing this with additive persistence.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is the persistence of 39?
3, with chain 27 -> 14 -> 4.
What is the persistence of 25?
2, with chain 10 -> 0.
What is the persistence of 7?
0, since 7 is already a single digit.
Questions
What is persistence?
The number of digit operations needed to reach a single digit.
Why does the process always stop?
The digit product of a multi digit number is smaller than the number itself.
What happens with a zero digit?
The product becomes zero, so the chain ends at zero.
Where is this used?
It is mainly studied in recreational number theory.
Are results exact?
Yes. Integer multiplication is used.
What input range is accepted?
Whole numbers from 0 through 1,000,000,000,000.
Sources
- OEIS A003001, smallest numbers of given multiplicative persistence
- Wikipedia: Multiplicative persistence