Number analysis
4
4 is a composite even number that factors as 2^2.
4 is a composite even number that factors as 2^2.
The number itself
- Value
- 4
- Digits
- 1
- Digit sum
- 4
- Reversed
- 4
- Palindrome
- Yes
4
Digit sum repeated until one digit remains; equals n mod 9 (with 9 for multiples of 9).
Reads the same in both directions.
Parity and primality
- Parity
- Even
- Prime
- No
- Squarefree
- No
- Semiprime
- Yes
- Prime power
- 2^2
- Powerful
- Yes
- Möbius μ(n)
- 0
- Nearest primes
- 3 ← → 5
Divisible by 2.
Composite — it factors as 2^2.
1 distinct prime factor, 2 with multiplicity.
At least one prime appears squared.
A product of exactly two primes, counted with multiplicity.
A single prime raised to a power.
Every prime factor appears at least squared.
Zero, because a squared prime divides n.
A gap of 2 between them.
Divisors
- Aliquot sum
- 3
- Classification
- Deficient
1, 2, 4
The proper divisors — everything except n itself.
Its proper divisors fall short by 1.
How many integers from 1 to n share no factor with n.
Sums and additive structure
- Sum of two squares
- Yes
- Sum of three squares
- Yes
- Sum of four squares
- Yes
- Goldbach pair
- 2 + 2
0² + 2² = 4
Legendre's three-square theorem allows it.
Lagrange's four-square theorem: every non-negative integer is, without exception.
The smallest pair of primes summing to n. Goldbach’s conjecture says one always exists; it remains unproven.
Shapes and sequences
- Square number
- Yes — the 2nd
- Lucas number
- Yes — index 3
- Power of two
- Yes — 2^2
Digit curiosities
- Happy number
- No
- Armstrong number
- Yes, trivially
- Harshad number
- Yes
- Collatz trajectory
- 2 steps to 1
Summing the squares of its digits falls into the 4 → 16 → 37 → … → 4 cycle.
Every single-digit number equals itself raised to the first power, so all ten qualify trivially.
Divisible by its digit sum 4 — 4 ÷ 4 = 1.
Peaks at 4 along the way.
Written other ways
- Binary
- 100
- Octal
- 4
- Base 36
- 4
- In words
- four
- Scientific notation
- 4 × 10^0
Is 4 a prime number?
Composite — it factors as 2^2.
Nearby numbers
Other numeral systems
Beyond the bases and Roman numerals above, these notations write 4 their own way.
- Greek (alphabetic)
- Δʹ
- Babylonian cuneiform
- 𒐉
- Tamil
- ௪
References
Further reading: Wikipedia · MathWorld · Wikidata
Notations, naming and the links above come from Wikidata, whose structured data is dedicated to the public domain under CC0-1.0. Retrieved 2026-10-07.