Numbers·158
158
CLVIII
10011110

The number 158 — factors and divisors

Deficient

158 = 2 × 79. It has 4 divisors, adding up to 240.

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

Laid out as dots

It fits as 2 × 79. The more divisors, the closer to a square.

Prime factors
2 × 79
Divisors
1, 2, 79, 158
Sum of divisors
240
Sum without itself
82
Coprime below it
78
Digit sum
14
Digital root
5
Roman numeral
CLVIII
Binary
10011110
Octal
236
Hexadecimal
9E
Base 36
4E
Bits
8 bits
Collatz steps
36 steps · peaks at 808
Prime before
157
Prime after
163

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 158 a prime number?

No. It breaks down into 2 × 79.

Q. What are the divisors of 158?

1, 2, 79, 158 — 4 divisors in all, adding up to 240.

Q. How is 158 written in binary?

10011110, which is 8 bits. In hexadecimal it is 9E.

Q. How many Collatz steps does 158 take?

It reaches 1 in 36, peaking at 808 on the way.