The number 40789
40789 is a composite number with 4 divisors. Its prime factorisation is 7 × 5827. Divisors (4): 1, 7, 5827, 40789.
Pick any whole number from 1 to 100,000.
How to work it out
- 1
What is special about 40789: a semiprime: 7 × 5827, the product of two primes.
- 2
40789 is composite. Its prime factorisation is
- 3
The divisors add up to 46624; without 40789 itself that is 5835, so 40789 is deficient (5835 is less than 40789). Euler's totient φ(40789) = 34956 numbers up to 40789 share no factor with it.
- 4
The digits of 40789 add up to 28, and repeating that until one digit is left gives the digital root 1. The Collatz sequence (halve if even, else 3n+1) takes 62 steps to reach 1.
LaTeX source of the formulas on this page
\[ 40789 = 7 \times 5827 \]
40789 at a glance
| Property | Value |
|---|---|
| Type | composite |
| Number of divisors | 4 |
| Sum of divisors | 46624 |
| Euler totient φ(n) | 34956 |
| Square | 1663742521 |
| Cube | 67862393689069 |
| Square root | 201.962868 |
| Digit sum / digital root | 28 / 1 |
| Collatz steps to 1 | 62 |
| Scientific notation | 4.0789 × |
40789 in other forms
| Form | Value |
|---|---|
| In words | forty thousand seven hundred and eighty-nine |
| Binary (base 2) | 1001111101010101 |
| Octal (base 8) | 117525 |
| Hexadecimal (base 16) | 9F55 |
| Base 3 | 2001221201 |
| As time | 40789 seconds = 11 h 19 min 49 s |
Is 40789 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 | No (remainder 1) | A number is divisible by 3 if the digits add up to a multiple of 3. |
| 4 | No (remainder 1) | A number is divisible by 4 if the last two digits make a multiple of 4. |
| 5 | No (remainder 4) | A number is divisible by 5 if the last digit is 0 or 5. |
| 6 | No (remainder 1) | A number is divisible by 6 if it is divisible by both 2 and 3. |
| 7 | Yes (40789 ÷ 7 = 5827) | 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 5) | A number is divisible by 8 if the last three digits make a multiple of 8. |
| 9 | No (remainder 1) | A number is divisible by 9 if the digits add up to a multiple of 9. |
| 10 | No (remainder 9) | A number is divisible by 10 if the last digit is 0. |
| 11 | No (remainder 1) | A number is divisible by 11 if the alternating sum of the digits is a multiple of 11. |
| 12 | No (remainder 1) | A number is divisible by 12 if it is divisible by both 3 and 4. |
Questions
Is 40789 a prime number?
No. 40789 = 7 × 5827, so it is divisible by 7.
What are the factors of 40789?
1, 7, 5827, 40789.
What is 40789 in binary?
1001111101010101 (hexadecimal 9F55, octal 117525).
What is the square root of 40789?
About 201.9629.
Is 40789 divisible by 3?
No. Its digits add up to 28, which is not a multiple of 3.
What is special about the number 40789?
40789 is a semiprime: 7 × 5827, the product of two primes.