Factorion Calculator

Number

Is 145 a factorion?Yes - the factorials of its digits sum back to 145
Sum of digit factorials145
Number of digits3
Next factorion after 14540,585
How this was calculated
  1. A factorion equals the sum of the factorials of its own decimal digits; factorions are also called strong numbers.
  2. The digits of 145 are 1, 4, 5, with factorials 1! = 1 + 4! = 24 + 5! = 120.
  3. Adding them: 1 + 24 + 120 = 145.
  4. That equals 145 itself, so it is a factorion. Only four base-10 factorions exist: 1, 2, 145 and 40,585.

A factorion is a number that equals the sum of the factorials of its decimal digits; factorions are also called strong numbers. This calculator checks any number you enter against that definition and shows you the answer: whether the number is a factorion, and the digit-factorial sum that decides it. For example, 145 is a factorion because 1! + 4! + 5! = 1 + 24 + 120 = 145. So is 40,585, since 4! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40,320 + 120 = 40,585 (note that 0! = 1). A number such as 146 fails the test: 1! + 4! + 6! = 1 + 24 + 720 = 745, which is not 146. Only four base-10 factorions exist: 1, 2, 145 and 40,585.

The method behind the calculator is the accepted standard for this kind of calculation because it follows the definition directly, digit by digit, and the complete list of four base-10 factorions is proven rather than merely observed: an 8-digit number always has a digit-factorial sum with at most 7 digits, hence smaller than itself. The term factorion was coined by Clifford Pickover. On this page you will find the formula, step-by-step workings, worked examples and sources, so you can follow each result yourself instead of taking it on trust.

Worked examples

145, the classic factorion

(145)

Is 145 a factorion?Yes - the factorials of its digits sum back to 145
Sum of digit factorials145
Number of digits3
Next factorion after 14540,585

40,585, the largest factorion

(40585)

Is 40,585 a factorion?Yes - the factorials of its digits sum back to 40,585
Sum of digit factorials40,585
Number of digits5
Next factorion after 40,585No larger one - 40,585 is the largest base-10 factorion

146, just past a factorion

(146)

Is 146 a factorion?No - the digit factorials sum to 745, not 146
Sum of digit factorials745
Number of digits3
Next factorion after 14640,585

What is a factorion?

A factorion is a number that equals the sum of the factorials of its decimal digits. Factorions are also called strong numbers. The rule is simple to state: take each digit of the number on its own, replace it with that digit's factorial, add the results, and compare the total to the number you started with. If the two match, the number is a factorion.

The definition depends on one convention that trips people up: 0! equals 1, not 0. That single fact matters whenever a zero appears in a candidate number. Because 0! = 1, a digit of 0 still adds 1 to the digit-factorial sum rather than contributing nothing.

The classic example is 145. Its digits are 1, 4 and 5, so the digit-factorial sum is 1! + 4! + 5!. Working each factorial out: 1! = 1, 4! = 24 and 5! = 120. Adding them gives 1 + 24 + 120 = 145, which is exactly the number we began with. That complete match is what makes 145 a factorion. It is a good habit to check the arithmetic digit by digit, because a single wrong factorial breaks the comparison.

A longer example shows how quickly the factorials grow. The number 40,585 is a factorion: 4! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40,320 + 120 = 40,585. Notice the 0! term: the zero digit contributes 1, and the sum only reaches 40,585 because that 1 is included. Notice also how 8! = 40,320 dominates the total, far outweighing the other four digits combined.

Most numbers fail the test, and seeing a near miss helps clarify the idea. Take 146, which differs from 145 by only one digit: 1! + 4! + 6! = 1 + 24 + 720 = 745. The sum is 745, not 146, so 146 is not a factorion. The jump from 5! = 120 to 6! = 720 is enough to push the total far past the original number.

The complete list of base-10 factorions is short: only four exist, namely 1, 2, 145 and 40,585. This is not a matter of nobody having searched far enough; it has been proven. The argument is a size one. An 8-digit number always has a digit-factorial sum with at most 7 digits, so the sum is smaller than the number itself, and no larger number can qualify either. The term factorion was coined by Clifford Pickover.

Remember: 0! = 1. A zero digit adds 1 to the digit-factorial sum, not 0.

How the check works

To test whether a number is a factorion, you follow a short, mechanical procedure. Split the number into its individual decimal digits, look up the factorial of each digit from 0! through 9!, add those factorial values together, and compare the total with the original number. If the two match, the number is a factorion; if they differ, it is not. The only table you need is the ten small factorials: 0! = 1, 1! = 1, 2! = 2, 3! = 6, 4! = 24, 5! = 120, 6! = 720, 7! = 5,040, 8! = 40,320 and 9! = 362,880. Everything else is addition and a single comparison.

Work through 40,585 to see the check succeed. Its digits are 4, 0, 5, 8 and 5. Replacing each digit with its factorial gives 4! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40,320 + 120 = 40,585. The sum lands exactly on the starting number, so 40,585 passes the test and is a factorion. The zero digit matters here: 0! equals 1, not 0, so it contributes one to the total rather than nothing. That single point trips up many hand calculations.

Now run the same steps on 146, which fails. Its digits are 1, 4 and 6, so the sum is 1! + 4! + 6! = 1 + 24 + 720 = 745. Because 745 is not equal to 146, the number is not a factorion. The gap is large and instructive: the 6! term alone (720) dwarfs the original three-digit number, which is why most numbers fail this check rather than pass it. A single large digit can push the sum far past the value being tested.

The same routine confirms the smallest cases. For 145, the digits 1, 4 and 5 give 1! + 4! + 5! = 1 + 24 + 120 = 145, an exact match. Because the procedure is fully deterministic, any candidate can be settled by hand or by a calculator in moments, with no estimation involved. Factorions are also called strong numbers, and the term factorion was coined by Clifford Pickover.

Only four base-10 factorions exist: 1, 2, 145 and 40,585. This is not a limit of searching but a proven result: an 8-digit number always has a digit-factorial sum with at most 7 digits, hence smaller than itself, so no 8-digit or longer number can qualify. That leaves only the shorter cases to check, and they yield exactly the four values above.

  • Split the number into its decimal digits.
  • Replace each digit with its factorial, using 0! = 1 through 9! = 362,880.
  • Add the factorial values together.
  • Compare the sum with the original number: a match means it is a factorion.
Remember 0! = 1. In 40,585 the zero digit adds 1 to the total, and forgetting that changes the result.

All four factorions

There are exactly four factorions in base 10: 1, 2, 145 and 40,585. Each one equals the sum of the factorials of its own decimal digits, which is the defining property of a factorion — also called a strong number. The table below shows the digit-by-digit expansion for each of the four.

The two single-digit cases are easy to check. For 1, the sum is just 1! = 1. For 2, it is 2! = 2. The first multi-digit example is 145, where 1! + 4! + 5! = 1 + 24 + 120 = 145. The largest is 40,585, where 4! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40,320 + 120 = 40,585. That expansion is a good reminder that 0! equals 1, not 0 — a detail that trips people up when they check the arithmetic by hand.

Why does the list stop there? The finiteness argument is a counting argument, not a search result. An 8-digit number is at least ten million. But the digit-factorial sum of an 8-digit number is at most 8 × 9!, since each of its eight digits contributes no more than 9! = 362,880. That upper bound, 8 × 9!, has only 7 digits. So every 8-digit number is larger than the greatest possible digit-factorial sum it could produce, and the same gap only widens as numbers get longer. No factorion can have 8 or more digits, which leaves a finite range to check — and within that range, only 1, 2, 145 and 40,585 qualify.

A near miss helps show how strict the condition is. Take 146: 1! + 4! + 6! = 1 + 24 + 720 = 745, which is nowhere near 146. The term factorion was coined by Clifford Pickover.

FactorionDigit-factorial expansionSum
11!1
22!2
1451! + 4! + 5! = 1 + 24 + 120145
40,5854! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40,320 + 12040,585
Every 8-digit number is at least ten million, but its digit-factorial sum is at most 8 × 9! — a number with only 7 digits. That is why the list of factorions is finite.

Factorions in other bases

The factorion idea is not limited to base 10. In any base, you can take the digits of a number, replace each digit with its factorial, and add the results. A number that equals that sum is a factorion in its base. Because the set of available digits changes from one base to the next, each base has its own factorions, found by its own search.

Base 4 gives a small, tidy example. Its digits are 0, 1, 2 and 3, and their factorials are 1, 1, 2 and 6. Working through the possibilities shows that the two-digit base-4 number written as 13 has digit-factorial sum 1! + 3! = 1 + 6 = 7, and 7 in base 4 is written 13. So 13 (base 4) is a factorion in base 4. Base 6 has more room. Its digits are 0 through 5, with factorials 1, 1, 2, 6, 24 and 120. The base-6 number written as 41 has digit-factorial sum 4! + 1! = 24 + 1 = 25, and 25 in base 6 is 41. So 41 (base 6) is a factorion in base 6.

These examples are worth reading carefully, because the numerals look like ordinary decimal numbers but are not. The base-4 factorion 13 is the number seven, and the base-6 factorion 41 is the number twenty-five. The arithmetic always uses the digit values of the base in question, not the decimal values of the symbols. That is why a search for factorions must state its base first: a string of digits that is a factorion in one base will generally not be one in another.

The concept also travels under another name. Factorions are also called strong numbers, so material that uses the phrase strong number is usually describing the same digit-factorial property. The term factorion itself was coined by Clifford Pickover. For reference, the base-10 case is well known: 145 is a factorion because 1! + 4! + 5! = 1 + 24 + 120 = 145, and 40,585 is a factorion because 4! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40,320 + 120 = 40,585, with 0! = 1. Not every near miss works: 146 is not a factorion, since 1! + 4! + 6! = 1 + 24 + 720 = 745. In base 10 only four factorions exist: 1, 2, 145 and 40,585, a result proven because an 8-digit number always has a digit-factorial sum with at most 7 digits, hence smaller than itself.

  • Base 4: 13 (base 4) is a factorion, since 1! + 3! = 1 + 6 = 7, which is 13 in base 4.
  • Base 6: 41 (base 6) is a factorion, since 4! + 1! = 24 + 1 = 25, which is 41 in base 6.
  • Same property, other name: factorions are also called strong numbers.
Digits are read in their own base. The base-4 factorion 13 means seven, and the base-6 factorion 41 means twenty-five.

FAQs

What is a factorion?

A factorion is a number that equals the sum of the factorials of its decimal digits. The classic example is 145, because 1! + 4! + 5! gives back 145. So you take each digit, compute its factorial, add those factorials together, and check whether the total matches the original number.

Is 145 a factorion?

Yes. Checking digit by digit: 1! = 1, 4! = 24, and 5! = 120. Adding them gives 1 + 24 + 120 = 145, which is exactly the number you started with. That is why 145 is the best-known factorion and the one usually shown first as an example.

Is 146 a factorion?

No. For 146 the digit factorials are 1! = 1, 4! = 24, and 6! = 720. Their sum is 1 + 24 + 720 = 745, not 146. The total overshoots the original number by a wide margin, so 146 fails the factorion test even though it differs from 145 by only one digit.

How many factorions are there?

There are exactly four factorions in base 10: 1, 2, 145 and 40,585. The single digits 1 and 2 work trivially, since 1! = 1 and 2! = 2. The other two, 145 and 40,585, are the only larger ones. No other base-10 number equals the sum of the factorials of its digits.

What is 0! in a factorion check?

0! equals 1, so any zero digit adds 1 to the sum rather than 0. That is exactly how 40,585 works: 4! = 24, 0! = 1, 5! = 120, 8! = 40,320, and 5! = 120. Adding those gives 24 + 1 + 120 + 40,320 + 120 = 40,585, matching the number itself.

Why are there no factorions with 8 or more digits?

An 8-digit number is in the millions, but the largest possible digit-factorial sum for 8 digits is 8 x 9!, which is only a 7-digit number. So the sum can never reach the original value. The same argument caps the search at 7 digits, which is why the full list of factorions is so short.

Sources

Related calculators

Armstrong Number Calculator
Check whether a number is an Armstrong (narcissistic) number: the sum of its digits each raised to the power of the digit count, compared with the number itself.
Digital Root Calculator
Digital root of any whole number by repeated digit sums, with every reduction round shown, the single-pass digit sum and the mod 9 shortcut.
Factorial Calculator
Exact factorials up to 170! computed with arbitrary-precision integers — no scientific-notation rounding — with the digit count and trailing zeros (Legendre's formula) explained.