The number 31158
31158 is a composite number with 16 divisors. Its prime factorisation is 2 × × 577. Divisors (16): 1, 2, 3, 6, 9, 18, 27, 54, 577, 1154, 1731, 3462, 5193, 10386, 15579, 31158.
Pick any whole number from 1 to 100,000.
How to work it out
- 1
What is special about 31158: a happy number: repeatedly adding the squares of its digits reaches 1; a Harshad number: divisible by its digit sum 18.
- 2
31158 is composite. Its prime factorisation is
- 3
The divisors add up to 69360; without 31158 itself that is 38202, so 31158 is abundant (38202 is more than 31158). Euler's totient φ(31158) = 10368 numbers up to 31158 share no factor with it.
- 4
The digits of 31158 add up to 18, and repeating that until one digit is left gives the digital root 9. The Collatz sequence (halve if even, else 3n+1) takes 54 steps to reach 1.
LaTeX source of the formulas on this page
\[ 31158 = 2 \times 3^{3} \times 577 \]31158 at a glance
| Property | Value |
|---|---|
| Type | composite |
| Number of divisors | 16 |
| Sum of divisors | 69360 |
| Euler totient φ(n) | 10368 |
| Square | 970820964 |
| Cube | 30248839596312 |
| Square root | 176.516288 (= 3√3462) |
| Digit sum / digital root | 18 / 9 |
| Collatz steps to 1 | 54 |
| Scientific notation | 3.1158 × |
31158 in other forms
| Form | Value |
|---|---|
| In words | thirty-one thousand one hundred and fifty-eight |
| Binary (base 2) | 111100110110110 |
| Octal (base 8) | 74666 |
| Hexadecimal (base 16) | 79B6 |
| Base 3 | 1120202000 |
| As time | 31158 seconds = 8 h 39 min 18 s |
Is 31158 divisible by 2 to 12?
| Divisor | Answer | Rule |
|---|---|---|
| 2 | Yes (31158 ÷ 2 = 15579) | A number is divisible by 2 if the last digit is even (0, 2, 4, 6, 8). |
| 3 | Yes (31158 ÷ 3 = 10386) | A number is divisible by 3 if the digits add up to a multiple of 3. |
| 4 | No (remainder 2) | A number is divisible by 4 if the last two digits make a multiple of 4. |
| 5 | No (remainder 3) | A number is divisible by 5 if the last digit is 0 or 5. |
| 6 | Yes (31158 ÷ 6 = 5193) | A number is divisible by 6 if it is divisible by both 2 and 3. |
| 7 | No (remainder 1) | 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 6) | A number is divisible by 8 if the last three digits make a multiple of 8. |
| 9 | Yes (31158 ÷ 9 = 3462) | A number is divisible by 9 if the digits add up to a multiple of 9. |
| 10 | No (remainder 8) | A number is divisible by 10 if the last digit is 0. |
| 11 | No (remainder 6) | A number is divisible by 11 if the alternating sum of the digits is a multiple of 11. |
| 12 | No (remainder 6) | A number is divisible by 12 if it is divisible by both 3 and 4. |
Questions
Is 31158 a prime number?
No. 31158 = 2 × × 577, so it is divisible by 2.
What are the factors of 31158?
1, 2, 3, 6, 9, 18, 27, 54, 577, 1154, 1731, 3462, 5193, 10386, 15579, 31158.
What is 31158 in binary?
111100110110110 (hexadecimal 79B6, octal 74666).
What is the square root of 31158?
About 176.5163, exactly 3√3462.
Is 31158 divisible by 3?
Yes. Its digits add up to 18, a multiple of 3.
What is special about the number 31158?
31158 is a happy number: repeatedly adding the squares of its digits reaches 1; a Harshad number: divisible by its digit sum 18.