Skip to content
Number Buffet

Number analysis

25

25 is a composite odd number that factors as 5^2.

25 is a composite odd number that factors as 5^2.

CompositeSemiprimeSum of two squaresSquareAutomorphic

The number itself

Value
25
Digits
2
Digit sum
7

2 + 5

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

Reversed
52

Reverses to 52.

Parity and primality

Parity
Odd

Leaves remainder 1 on division by 2.

Prime
No

Composite — it factors as 5^2.

1 distinct prime factor, 2 with multiplicity.

Squarefree
No

At least one prime appears squared.

Semiprime
Yes

A product of exactly two primes, counted with multiplicity.

Prime power
5^2

A single prime raised to a power.

Powerful
Yes

Every prime factor appears at least squared.

Möbius μ(n)
0

Zero, because a squared prime divides n.

Nearest primes
23 ← → 29

A gap of 6 between them.

Divisors

1, 5, 25

Aliquot sum
6

The proper divisors — everything except n itself.

Classification
Deficient

Its proper divisors fall short by 19.

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

Sums and additive structure

Sum of two squares
Yes

0² + 5² = 25 · 3² + 4² = 25

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.

Shapes and sequences

Square number
Yes — the 5th

Digit curiosities

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

Harshad number
No

Not divisible by its digit sum 7.

Its square 625 ends in 25.

Collatz trajectory
23 steps to 1

Peaks at 88 along the way.

Written other ways

Binary
11001
Octal
31
In words
twenty-five
Scientific notation
2.5 × 10^1

Is 25 a prime number?

Composite — it factors as 5^2.

Nearby numbers

Analyse any number up to a trillion · All generators

Other numeral systems

Beyond the bases and Roman numerals above, these notations write 25 their own way.

Greek (alphabetic)
ΚΕʹ
Babylonian cuneiform
𒎙𒐙
Tamil
௨௰௫

References

Further reading: Wikipedia · 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.