Numbers·123
123
CXXIII
1111011

The number 123 — factors and divisors

Deficient

123 = 3 × 41. It has 4 divisors, adding up to 168.

Its divisors, itself excluded, add up to less than the number.

Laid out as dots

It fits as 3 × 41. The more divisors, the closer to a square.

Prime factors
3 × 41
Divisors
1, 3, 41, 123
Sum of divisors
168
Sum without itself
45
Coprime below it
80
Digit sum
6
Digital root
6
Roman numeral
CXXIII
Binary
1111011
Octal
173
Hexadecimal
7B
Base 36
3F
Bits
7 bits
Collatz steps
46 steps · peaks at 628
Prime before
113
Prime after
127

The grid

Ten per row, twenty rows. The filled cells are primes — you can see the multiples of 2 and 5 drop out in columns.

Numbers either side

How to read this

  • The prime factors are what the number is made of. The count and sum of divisors both follow from them.
  • Add the divisors, take the number away, and you get perfect, abundant or deficient.
  • The length of the binary form is the bit count. 255 taking eight digits is what a byte is.
  • Collatz: halve it if even, triple it and add one if odd. The count is how many moves reach 1.

Frequently asked questions

Q. Is 123 a prime number?

No. It breaks down into 3 × 41.

Q. What are the divisors of 123?

1, 3, 41, 123 — 4 divisors in all, adding up to 168.

Q. How is 123 written in binary?

1111011, which is 7 bits. In hexadecimal it is 7B.

Q. How many Collatz steps does 123 take?

It reaches 1 in 46, peaking at 628 on the way.