Numbers·4
4
IV
100

The number 4 — factors and divisors

Deficient

4 = 2². It has 3 divisors, adding up to 7.

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

Families it belongs to

Square

A number times itself — the dots lay out as a square.

Power of two

Two multiplied by itself. Every extra bit doubles it.

Laid out as dots

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

Prime factors
Divisors
1, 2, 4
Sum of divisors
7
Sum without itself
3
Coprime below it
2
Digit sum
4
Digital root
4
Roman numeral
IV
Binary
100
Octal
4
Hexadecimal
4
Base 36
4
Bits
3 bits
Collatz steps
2 steps · peaks at 4
Prime before
3
Prime after
5

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

No. It breaks down into 2².

Q. What are the divisors of 4?

1, 2, 4 — 3 divisors in all, adding up to 7.

Q. How is 4 written in binary?

100, which is 3 bits. In hexadecimal it is 4.

Q. How many Collatz steps does 4 take?

It reaches 1 in 2, peaking at 4 on the way.