Skip to content
Number Buffet

Number analysis

30

30 is a composite even number that factors as 2 × 3 × 5.

30 is a composite even number that factors as 2 × 3 × 5.

Composite

The number itself

Value
30
Digits
2
Digit sum
3

3 + 0

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

Reversed
3

Reverses to 3.

Parity and primality

Parity
Even

Divisible by 2.

Prime
No

Composite — it factors as 2 × 3 × 5.

Prime factorisation
2 × 3 × 5

3 distinct prime factors, 3 with multiplicity.

Squarefree
Yes

No prime divides it twice.

Möbius μ(n)
-1

(−1) to the power of 3 distinct prime factors.

Nearest primes
29 ← → 31

A gap of 2 between them.

Divisors

1, 2, 3, 5, 6, 10, 15, 30

Aliquot sum
42

The proper divisors — everything except n itself.

Classification
Abundant

Its proper divisors overshoot by 12.

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.

Goldbach pair
7 + 23

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 3 — 30 ÷ 3 = 10.

Collatz trajectory
18 steps to 1

Peaks at 160 along the way.

Written other ways

Binary
11110
Octal
36
In words
thirty
Scientific notation
3.0 × 10^1

Is 30 a prime number?

Composite — it factors as 2 × 3 × 5.

Nearby numbers

Analyse any number up to a trillion · All generators

Other numeral systems

Beyond the bases and Roman numerals above, these notations write 30 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.