Equidigital Number Calculator

Check whether the factorization of n uses exactly as many digits as n itself.

Math and PercentUpdated 2026-11-182 min read
Equidigital Number Calculator
A whole number from 1 to 1,000,000.
Digits in factorization
...
Digits in n...
Classification...

What it does

An equidigital number is one whose prime factorization uses exactly the same number of decimal digits as the number itself. The sequence begins 1, 2, 3, 5, 7, 10, 11 and 13. For 10 the factorization 2 times 5 uses two digits, and the number 10 also uses two digits.

The idea sits between wasteful numbers, where the factorization uses more digits, and frugal numbers, where it uses fewer. Together the three classes partition the positive integers under a simple counting rule.

The convention counts each distinct prime in full and adds the exponent digits only when an exponent exceeds one. Multiplication signs and spaces are not counted.

This page factors the input, applies the convention and prints both digit counts. Equality gives an equidigital verdict, while a difference reports the neighbouring class.

The input limit is one million, which keeps factorization fast and the counts small.

How to use

  1. Enter a whole number n from 1 to 1,000,000.
  2. Read the classification in the main result box.
  3. Check the two digit counts beside it.
  4. Equality means equidigital.
  5. The default n = 10 reproduces the worked example.
  6. Try n = 4 to see a wasteful number.

Formula

n is equidigital when the digit count of its prime factorization equals the digit count of n
n
The integer being classified.
factor digits
Digits of primes plus exponents greater than one.
number digits
Digits in the decimal form of n.

Primes are equidigital because their factorization is just the prime itself. A composite such as 10 is equidigital when its two prime digits match the two digits of the number. Exponents of one are omitted from the written form.

Worked example

Example: n = 10

The page opens with n = 10.

  1. Write 10 in decimal: it uses two digits.
  2. Factor 10 as 2 x 5, using one digit for each prime.
  3. The factorization uses two digits in total.
  4. The counts are equal, so 10 is equidigital.
  5. The tool reports factor digits 2, number digits 2, and Equidigital.
  6. For 4 the factorization 2^2 uses two digits against one, so it is wasteful.

Reference table

Equidigital numbers
nFactorizationFactor digitsNumber digitsVerdict
2211Equidigital
7711Equidigital
102 x 522Equidigital
111122Equidigital
142 x 722Equidigital
162^422Equidigital

Limits

  • Inputs above 1,000,000 are rejected to keep factorization quick.
  • Exponents of one are omitted from the digit count.
  • Only base ten digit counts are used.
  • The tool gives a verdict and counts, not the written factorization.

Common mistakes

  • Counting an exponent of one as a digit.
  • Counting operators or spaces as digits.
  • Using a different base for the two counts.
  • Assuming every prime is equidigital only if it is small.
  • Confusing equidigital with frugal.

Try it yourself

Quick checks. Answers sit tucked under each question.

Is 10 equidigital?

Yes. Both the number and its factorization 2 x 5 use two digits.

Is 16 equidigital?

Yes. Its factorization 2^4 uses two digits, as does 16.

Is 4 equidigital?

No. Its factorization uses two digits against one, so it is wasteful.

Questions

What does equidigital mean?

The number and its factorization use the same count of digits.

Are primes equidigital?

Yes, since a prime is its own factorization.

What is the opposite case?

Wasteful if the factorization is longer, frugal if shorter.

How are exponents counted?

Only exponents greater than one contribute digits.

Are results exact?

Yes, integer factorization is used.

What input range is accepted?

Whole numbers from 1 through 1,000,000.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.