Numbers·38
38
XXXVIII
100110

The number 38 — factors and divisors

Deficient

38 = 2 × 19. It has 4 divisors, adding up to 60.

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

Laid out as dots

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

Prime factors
2 × 19
Divisors
1, 2, 19, 38
Sum of divisors
60
Sum without itself
22
Coprime below it
18
Digit sum
11
Digital root
2
Roman numeral
XXXVIII
Binary
100110
Octal
46
Hexadecimal
26
Base 36
12
Bits
6 bits
Collatz steps
21 steps · peaks at 88
Prime before
37
Prime after
41

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

No. It breaks down into 2 × 19.

Q. What are the divisors of 38?

1, 2, 19, 38 — 4 divisors in all, adding up to 60.

Q. How is 38 written in binary?

100110, which is 6 bits. In hexadecimal it is 26.

Q. How many Collatz steps does 38 take?

It reaches 1 in 21, peaking at 88 on the way.