40,585
40,585 equals the sum of the factorials of its own digits.
- Odd
- Composite
Where 40,585 fits
Why 40,585 is special
4! + 0! + 5! + 8! + 5! = 40,585. It is the largest of only four such numbers in base ten — 1, 2, 145 and this — and the list is proven complete because beyond seven digits the factorials cannot keep pace.
40,585 is part of
Factors & digit properties
- Divisors (4)
- 1, 5, 8117, 40585
- Prime factorisation
- 5 × 8117
- Digit sum
- 22
- Digital root
- 4
Representations
- Decimal
- 40585
- Binary
- 1001111010001001
- Octal
- 117211
- Hexadecimal
- 9e89
- Scientific notation
- 4.059 × 10^4
Other mathematical patterns
- Deficient number
- Happy number
- Semiprime
Related numbers & connections
Both equal the sum of the factorials of their own digits. With 1 and 2 they are the complete set in base ten, and the completeness is proven rather than merely unextended.
View 145 →Mathematically related
- is a multiple of145
why?
Strength 0.50, confidence "high".
Mathematics
4! + 0! + 5! + 8! + 5! = 40,585, the biggest of the four base-ten numbers equal to the sum of their digits' factorials. The set — 1, 2, 145, 40,585 — is proven complete, because past seven digits the factorials cannot grow fast enough to catch up.
DocumentedMathematics
Common questions
Is 40,585 a prime number?
No, 40,585 is not prime.
What are the factors of 40,585?
The factors of 40,585 are 1, 5, 8117, 40585.
About this page's data
Mathematical facts:computed directly from the number's value — nothing to source or verify externally.
Contextual records: 1 reviewer-confirmed record, sourced and reviewed before publication.
Last reviewed: 3 August 2026