4104
4,104 is the second taxicab number.
- Even
- Composite
Where 4104 fits
Why 4104 is special
It is the sum of two cubes in two different ways: 2³ + 16³ and 9³ + 15³. 1,729 is the first and famous one; 4,104 is the next and almost unknown.
Factors & digit properties
- Divisors (32)
- 1, 2, 3, 4, 6, 8, 9, 12, 18, 19, 24, 27, 36, 38, 54, 57, 72, 76, 108, 114, 152, 171, 216, 228, 342, 456, 513, 684, 1026, 1368, 2052, 4104
- Prime factorisation
- 2^3 × 3^3 × 19
- Digit sum
- 9
- Digital root
- 9
Representations
- Decimal
- 4104
- Scientific notation
- 4.104 × 10^3
Roman numerals
Roman numerals as modelled here goes up to 3,999.
Binary
1 0 0 0 0 0 0 0 0 1 0 0 0
1 × 4,096 + 0 × 2,048 + 0 × 1,024 + 0 × 512 + 0 × 256 + 0 × 128 + 0 × 64 + 0 × 32 + 0 × 16 + 1 × 8 + 0 × 4 + 0 × 2 + 0 × 1 = 4,104
Octal
1 0 0 1 0
1 × 4,096 + 0 × 512 + 0 × 64 + 1 × 8 + 0 × 1 = 4,104
Hexadecimal
1 0 0 8
1 × 4,096 + 0 × 256 + 0 × 16 + 8 × 1 = 4,104
Read as powers of two: 4,096 + 8 = 4,104.
In historical numeral systems
Egyptian
4 lotuses, 1 coil of rope, 4 strokes
4 × 1,000 + 1 × 100 + 4 × 1 = 4,104. The signs are simply repeated and added; where they sit on the line is a matter of layout, not value.
Systems that simply cannot reach this value are left out. Where a script needs a font most readers do not have, the reading is given instead of the glyphs — see number systems for each system in full.
Other mathematical patterns
- Abundant number
- Harshad (Niven) number
Mathematics
4,104 = 2³ + 16³ = 9³ + 15³, making it the second number expressible as a sum of two cubes in two ways. The first, 1,729, has an anecdote attached and this one does not.
DocumentedMathematics
Common questions
Is 4104 a prime number?
No, 4104 is not prime.
What are the factors of 4104?
The factors of 4104 are 1, 2, 3, 4, 6, 8, 9, 12, 18, 19, 24, 27, 36, 38, 54, 57, 72, 76, 108, 114, 152, 171, 216, 228, 342, 456, 513, 684, 1026, 1368, 2052, 4104.
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: 15 July 2026