Number analysis
6
The smallest perfect number: 1 + 2 + 3 = 6, and also 1 × 2 × 3 = 6.
The smallest perfect number: 1 + 2 + 3 = 6, and also 1 × 2 × 3 = 6.
The number itself
- Value
- 6
- Digits
- 1
- Digit sum
- 6
- Reversed
- 6
- Palindrome
- Yes
6
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
- Prime factorisation
- 2 × 3
- Squarefree
- Yes
- Semiprime
- Yes
- Möbius μ(n)
- 1
- Nearest primes
- 5 ← → 7
Divisible by 2.
Composite — it factors as 2 × 3.
2 distinct prime factors, 2 with multiplicity.
No prime divides it twice.
A product of exactly two primes, counted with multiplicity.
(−1) to the power of 2 distinct prime factors.
A gap of 2 between them.
Divisors
- Aliquot sum
- 6
- Classification
- Perfect
1, 2, 3, 6
The proper divisors — everything except n itself.
Its proper divisors sum to exactly itself.
How many integers from 1 to n share no factor with n.
Sums and additive structure
- Sum of two squares
- No
- Sum of three squares
- Yes
- Sum of four squares
- Yes
- Goldbach pair
- 3 + 3
A prime congruent to 3 mod 4 divides it an odd number of times, which rules it out.
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
- Triangular number
- Yes — the 3rd
- Hexagonal number
- Yes — the 2nd
- Factorial
- Yes — 3!
Digit curiosities
- Happy number
- No
- Armstrong number
- Yes, trivially
- Harshad number
- Yes
- Automorphic
- Yes
- Collatz trajectory
- 8 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 6 — 6 ÷ 6 = 1.
Its square 36 ends in 6.
Peaks at 16 along the way.
Written other ways
- Binary
- 110
- Octal
- 6
- Base 36
- 6
- In words
- six
- Scientific notation
- 6 × 10^0
Is 6 a prime number?
Composite — it factors as 2 × 3.
Nearby numbers
Other numeral systems
Beyond the bases and Roman numerals above, these notations write 6 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.