The number 12798
12798 is a composite number with 20 divisors. Its prime factorisation is 2 × × 79. Divisors (20): 1, 2, 3, 6, 9, 18, 27, 54, 79, 81, 158, 162, 237, 474, 711, 1422 … 12798.
Pick any whole number from 1 to 100,000.
How to work it out
- 1
What is special about 12798: a Harshad number: divisible by its digit sum 27.
- 2
12798 is composite. Its prime factorisation is
- 3
The divisors add up to 29040; without 12798 itself that is 16242, so 12798 is abundant (16242 is more than 12798). Euler's totient φ(12798) = 4212 numbers up to 12798 share no factor with it.
- 4
The digits of 12798 add up to 27, and repeating that until one digit is left gives the digital root 9. The Collatz sequence (halve if even, else 3n+1) takes 169 steps to reach 1.
LaTeX source of the formulas on this page
\[ 12798 = 2 \times 3^{4} \times 79 \]12798 at a glance
| Property | Value |
|---|---|
| Type | composite |
| Number of divisors | 20 |
| Sum of divisors | 29040 |
| Euler totient φ(n) | 4212 |
| Square | 163788804 |
| Cube | 2096169113592 |
| Square root | 113.128246 (= 9√158) |
| Digit sum / digital root | 27 / 9 |
| Collatz steps to 1 | 169 |
| Scientific notation | 1.2798 × |
12798 in other forms
| Form | Value |
|---|---|
| In words | twelve thousand seven hundred and ninety-eight |
| Binary (base 2) | 11000111111110 |
| Octal (base 8) | 30776 |
| Hexadecimal (base 16) | 31FE |
| Base 3 | 122120000 |
| As time | 12798 seconds = 3 h 33 min 18 s |
Is 12798 divisible by 2 to 12?
| Divisor | Answer | Rule |
|---|---|---|
| 2 | Yes (12798 ÷ 2 = 6399) | A number is divisible by 2 if the last digit is even (0, 2, 4, 6, 8). |
| 3 | Yes (12798 ÷ 3 = 4266) | 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 (12798 ÷ 6 = 2133) | A number is divisible by 6 if it is divisible by both 2 and 3. |
| 7 | No (remainder 2) | 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 (12798 ÷ 9 = 1422) | 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 5) | 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 12798 a prime number?
No. 12798 = 2 × × 79, so it is divisible by 2.
What are the factors of 12798?
1, 2, 3, 6, 9, 18, 27, 54, 79, 81, 158, 162, 237, 474, 711, 1422, 2133, 4266, 6399, 12798.
What is 12798 in binary?
11000111111110 (hexadecimal 31FE, octal 30776).
What is the square root of 12798?
About 113.1282, exactly 9√158.
Is 12798 divisible by 3?
Yes. Its digits add up to 27, a multiple of 3.
What is special about the number 12798?
12798 is a Harshad number: divisible by its digit sum 27.