Skip to content
Number Buffet

Number analysis

126

126 is a composite even number that factors as 2 × 3^2 × 7.

126 is a composite even number that factors as 2 × 3^2 × 7.

Composite

The number itself

Value
126
Digits
3
Digit sum
9

1 + 2 + 6

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

Reversed
621

Reverses to 621.

Parity and primality

Parity
Even

Divisible by 2.

Prime
No

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

Prime factorisation
2 × 3^2 × 7

3 distinct prime factors, 4 with multiplicity.

Squarefree
No

At least one prime appears squared.

Möbius μ(n)
0

Zero, because a squared prime divides n.

Nearest primes
113 ← → 127

A gap of 14 between them.

Divisors

1, 2, 3, 6, 7, 9, 14, 18, 21, 42, 63, 126

Aliquot sum
186

The proper divisors — everything except n itself.

Classification
Abundant

Its proper divisors overshoot by 60.

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
1³ + 5³
Goldbach pair
13 + 113

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 — 126 ÷ 9 = 14.

Collatz trajectory
108 steps to 1

Peaks at 9,232 along the way.

Written other ways

Binary
1111110
Octal
176
Base 36
3I
In words
one hundred and twenty-six
Scientific notation
1.26 × 10^2

Is 126 a prime number?

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

Nearby numbers

Analyse any number up to a trillion · All generators

Other numeral systems

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

Morse code
· − − − − · · − − − − · · · ·
Devanagari
१२६
Tamil
௱௨௰௬
Thai
๑๒๖

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.