The number 5871
5871 is a composite number with 8 divisors. Its prime factorisation is 3 × 19 × 103. Divisors (8): 1, 3, 19, 57, 103, 309, 1957, 5871.
Pick any whole number from 1 to 100,000.
How to work it out
- 1
What is special about 5871: a happy number: repeatedly adding the squares of its digits reaches 1.
- 2
5871 is composite. Its prime factorisation is
- 3
The divisors add up to 8320; without 5871 itself that is 2449, so 5871 is deficient (2449 is less than 5871). Euler's totient φ(5871) = 3672 numbers up to 5871 share no factor with it.
- 4
The digits of 5871 add up to 21, and repeating that until one digit is left gives the digital root 3. The Collatz sequence (halve if even, else 3n+1) takes 80 steps to reach 1.
LaTeX source of the formulas on this page
\[ 5871 = 3 \times 19 \times 103 \]
5871 at a glance
| Property | Value |
|---|---|
| Type | composite |
| Number of divisors | 8 |
| Sum of divisors | 8320 |
| Euler totient φ(n) | 3672 |
| Square | 34468641 |
| Cube | 202365391311 |
| Square root | 76.622451 |
| Digit sum / digital root | 21 / 3 |
| Collatz steps to 1 | 80 |
| Scientific notation | 5.871 × |
5871 in other forms
| Form | Value |
|---|---|
| In words | five thousand eight hundred and seventy-one |
| Binary (base 2) | 1011011101111 |
| Octal (base 8) | 13357 |
| Hexadecimal (base 16) | 16EF |
| Base 3 | 22001110 |
| As time | 5871 seconds = 1 h 37 min 51 s |
Is 5871 divisible by 2 to 12?
| Divisor | Answer | Rule |
|---|---|---|
| 2 | No (remainder 1) | A number is divisible by 2 if the last digit is even (0, 2, 4, 6, 8). |
| 3 | Yes (5871 ÷ 3 = 1957) | A number is divisible by 3 if the digits add up to a multiple of 3. |
| 4 | No (remainder 3) | A number is divisible by 4 if the last two digits make a multiple of 4. |
| 5 | No (remainder 1) | A number is divisible by 5 if the last digit is 0 or 5. |
| 6 | No (remainder 3) | A number is divisible by 6 if it is divisible by both 2 and 3. |
| 7 | No (remainder 5) | A number is divisible by 7 if double the last digit and subtract it from the rest: the result is a multiple of 7. |
| 8 | No (remainder 7) | A number is divisible by 8 if the last three digits make a multiple of 8. |
| 9 | No (remainder 3) | A number is divisible by 9 if the digits add up to a multiple of 9. |
| 10 | No (remainder 1) | A number is divisible by 10 if the last digit is 0. |
| 11 | No (remainder 8) | A number is divisible by 11 if the alternating sum of the digits is a multiple of 11. |
| 12 | No (remainder 3) | A number is divisible by 12 if it is divisible by both 3 and 4. |
Questions
Is 5871 a prime number?
No. 5871 = 3 × 19 × 103, so it is divisible by 3.
What are the factors of 5871?
1, 3, 19, 57, 103, 309, 1957, 5871.
What is 5871 in binary?
1011011101111 (hexadecimal 16EF, octal 13357).
What is the square root of 5871?
About 76.6225.
Is 5871 divisible by 3?
Yes. Its digits add up to 21, a multiple of 3.
What is special about the number 5871?
5871 is a happy number: repeatedly adding the squares of its digits reaches 1.