The number 40158
40158 is a composite number with 24 divisors. Its prime factorisation is 2 × × 23 × 97. Divisors (24): 1, 2, 3, 6, 9, 18, 23, 46, 69, 97, 138, 194, 207, 291, 414, 582 … 40158.
Pick any whole number from 1 to 100,000.
How to work it out
- 1
What is special about 40158: a Harshad number: divisible by its digit sum 18.
- 2
40158 is composite. Its prime factorisation is
- 3
The divisors add up to 91728; without 40158 itself that is 51570, so 40158 is abundant (51570 is more than 40158). Euler's totient φ(40158) = 12672 numbers up to 40158 share no factor with it.
- 4
The digits of 40158 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 119 steps to reach 1.
LaTeX source of the formulas on this page
\[ 40158 = 2 \times 3^{2} \times 23 \times 97 \]40158 at a glance
| Property | Value |
|---|---|
| Type | composite |
| Number of divisors | 24 |
| Sum of divisors | 91728 |
| Euler totient φ(n) | 12672 |
| Square | 1612664964 |
| Cube | 64761399624312 |
| Square root | 200.394611 (= 3√4462) |
| Digit sum / digital root | 18 / 9 |
| Collatz steps to 1 | 119 |
| Scientific notation | 4.0158 × |
40158 in other forms
| Form | Value |
|---|---|
| In words | forty thousand one hundred and fifty-eight |
| Binary (base 2) | 1001110011011110 |
| Octal (base 8) | 116336 |
| Hexadecimal (base 16) | 9CDE |
| Base 3 | 2001002100 |
| As time | 40158 seconds = 11 h 9 min 18 s |
Is 40158 divisible by 2 to 12?
| Divisor | Answer | Rule |
|---|---|---|
| 2 | Yes (40158 ÷ 2 = 20079) | A number is divisible by 2 if the last digit is even (0, 2, 4, 6, 8). |
| 3 | Yes (40158 ÷ 3 = 13386) | 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 (40158 ÷ 6 = 6693) | A number is divisible by 6 if it is divisible by both 2 and 3. |
| 7 | No (remainder 6) | 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 (40158 ÷ 9 = 4462) | 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 8) | 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 40158 a prime number?
No. 40158 = 2 × × 23 × 97, so it is divisible by 2.
What are the factors of 40158?
1, 2, 3, 6, 9, 18, 23, 46, 69, 97, 138, 194, 207, 291, 414, 582, 873, 1746, 2231, 4462, 6693, 13386, 20079, 40158.
What is 40158 in binary?
1001110011011110 (hexadecimal 9CDE, octal 116336).
What is the square root of 40158?
About 200.3946, exactly 3√4462.
Is 40158 divisible by 3?
Yes. Its digits add up to 18, a multiple of 3.
What is special about the number 40158?
40158 is a Harshad number: divisible by its digit sum 18.