Numbers·157
157
CLVII
10011101

The number 157 — factors and divisors

Deficient

157 is a prime: only 1 and itself divide it. The prime before is 151, the next is 163.

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

Families it belongs to

Prime

Nothing divides it but 1 and itself.

Laid out as dots

It only fits in one row. Having no other rectangle is what being prime means.

Prime factors
It does not break down further
Divisors
1, 157
Sum of divisors
158
Sum without itself
1
Coprime below it
156
Digit sum
13
Digital root
4
Roman numeral
CLVII
Binary
10011101
Octal
235
Hexadecimal
9D
Base 36
4D
Bits
8 bits
Collatz steps
36 steps · peaks at 472
Prime before
151
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 157 a prime number?

Yes. Nothing divides it but 1 and itself.

Q. What are the divisors of 157?

1, 157 — 2 divisors in all, adding up to 158.

Q. How is 157 written in binary?

10011101, which is 8 bits. In hexadecimal it is 9D.

Q. How many Collatz steps does 157 take?

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