Is 797 a prime number? Yes
797 has exactly two divisors, 1 and itself. To confirm it, it is enough to test the primes up to √797 ≈ 28.231: 2, 3, 5, 7, 11, 13, 17, 19, 23 — none divides 797 evenly.
- Palindromic prime: 797 reads the same backwards.
How to write 797 in words
Seven hundred ninety-seven
| Style | Written |
|---|---|
| Cardinal (US) | seven hundred ninety-seven |
| Ordinal | seven hundred ninety-seventh (797th) |
| On a check | Seven hundred ninety-seven and 00/100 dollars |
In US English there is no “and” after “hundred” (seven hundred ninety-seven); British English adds it (seven hundred and ninety-seven).
797 in Roman numerals
797 = DCCXCVII
Break 797 into place values and write each one: 700 = DCC, 90 = XC, 7 = VII. Joined: DCCXCVII.
Properties of 797
| Property | Value |
|---|---|
| Parity | odd |
| Number of digits | 3 |
| Digit sum | 23 |
| Digital root | 5 |
| Reversed | 797 (palindrome) |
| Perfect square? | no |
| Perfect cube? | no |
| Triangular number? | no |
| Fibonacci number? | no |
| Classification | deficient |
Square root, square and cube of 797
| Operation | Result |
|---|---|
| √797 | 28.231 (between 28 and 29) |
| ∛797 | 9.272 |
| 797² | 635,209 |
| 797³ | 506,261,573 |
| 1 ÷ 797 | 0.001254705144 |
797 in binary, octal and hexadecimal
| Base | 797 is written |
|---|---|
| Binary (2) | 11 0001 1101 (10 bits) |
| Ternary (3) | 1002112 |
| Octal (8) | 1435 |
| Duodecimal (12) | 565 |
| Hexadecimal (16) | 31D |
| Base 36 | M5 |
Collatz sequence of 797
Halve if even, triple and add 1 if odd: starting from 797 it takes 121 steps to reach 1, peaking at 9,232. First steps: 797 → 2,392 → 1,196 → 598 → 299 → 898 → 449 → 1,348 → 674 → 337 → …
Multiplication table of 797
| 797 × | Result |
|---|---|
| 797 × 1 | 797 |
| 797 × 2 | 1,594 |
| 797 × 3 | 2,391 |
| 797 × 4 | 3,188 |
| 797 × 5 | 3,985 |
| 797 × 6 | 4,782 |
| 797 × 7 | 5,579 |
| 797 × 8 | 6,376 |
| 797 × 9 | 7,173 |
| 797 × 10 | 7,970 |
| 797 × 11 | 8,767 |
| 797 × 12 | 9,564 |