Numbers·87
87
LXXXVII
1010111

The number 87 — factors and divisors

Deficient

87 = 3 × 29. It has 4 divisors, adding up to 120.

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

Laid out as dots

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

Prime factors
3 × 29
Divisors
1, 3, 29, 87
Sum of divisors
120
Sum without itself
33
Coprime below it
56
Digit sum
15
Digital root
6
Roman numeral
LXXXVII
Binary
1010111
Octal
127
Hexadecimal
57
Base 36
2F
Bits
7 bits
Collatz steps
30 steps · peaks at 592
Prime before
83
Prime after
89

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

No. It breaks down into 3 × 29.

Q. What are the divisors of 87?

1, 3, 29, 87 — 4 divisors in all, adding up to 120.

Q. How is 87 written in binary?

1010111, which is 7 bits. In hexadecimal it is 57.

Q. How many Collatz steps does 87 take?

It reaches 1 in 30, peaking at 592 on the way.