Skip to content
Number Buffet

Number analysis

4,104

4,104 is a composite even number that factors as 2^3 × 3^3 × 19.

4,104 is a composite even number that factors as 2^3 × 3^3 × 19.

CompositeTaxicab

The number itself

Value
4,104
Digits
4
Digit sum
9

4 + 1 + 0 + 4

Digit sum repeated until one digit remains; equals n mod 9 (with 9 for multiples of 9).

Reversed
4,014

Reverses to 4,014.

Parity and primality

Parity
Even

Divisible by 2.

Prime
No

Composite — it factors as 2^3 × 3^3 × 19.

Prime factorisation
2^3 × 3^3 × 19

3 distinct prime factors, 7 with multiplicity.

Squarefree
No

At least one prime appears squared.

Möbius μ(n)
0

Zero, because a squared prime divides n.

Nearest primes
4,099 ← → 4,111

A gap of 12 between them.

Divisors

1, 2, 3, 4, 6, 8, 9, 12, 18, 19, 24, 27, 36, 38, 54, 57, 72, 76, 108, 114, … (12 more)

Aliquot sum
7,896

The proper divisors — everything except n itself.

Classification
Abundant

Its proper divisors overshoot by 3,792.

How many integers from 1 to n share no factor with n.

Sums and additive structure

Sum of two squares
No

A prime congruent to 3 mod 4 divides it an odd number of times, which rules it out.

Sum of three squares
Yes

Legendre's three-square theorem allows it.

Sum of four squares
Yes

Lagrange's four-square theorem: every non-negative integer is, without exception.

Sum of two cubes
2³ + 16³ · 9³ + 15³

Expressible in 2 distinct ways — a taxicab number, after the Hardy–Ramanujan story about 1729.

Goldbach pair
5 + 4,099

The smallest pair of primes summing to n. Goldbach’s conjecture says one always exists; it remains unproven.

Shapes and sequences

Figurate shapes
None

Not triangular, square, pentagonal, hexagonal, cubic, Fibonacci, Lucas, Catalan, factorial or a power of two.

Digit curiosities

Summing the squares of its digits falls into the 4 → 16 → 37 → … → 4 cycle.

Harshad number
Yes

Divisible by its digit sum 9 — 4,104 ÷ 9 = 456.

Collatz trajectory
38 steps to 1

Peaks at 4,104 along the way.

Written other ways

Binary
1000000001000
Octal
10010
Base 36
360

Standard Roman numerals only run from 1 to 3,999.

In words
four thousand one hundred and four
Scientific notation
4.104 × 10^3

Is 4,104 a prime number?

Composite — it factors as 2^3 × 3^3 × 19.

Nearby numbers

Analyse any number up to a trillion · All generators