Number dictionary · Exact arithmetic

797: factors and number facts

seven hundred ninety-seven is an odd number and is prime. Its 2 positive divisors form 1 factor pair.

Number JD Editorial Team · Updated 2026-10-08

In words
seven hundred ninety-seven
Roman numeral
DCCXCVII
Prime factorization
797
Digital root
5

All factors of 797

A positive factor divides 797 with no remainder. In ascending order, the complete list is:

1, 797

Factor pairs

  • 1 × 797 = 797

Each pair describes an arrangement of 797 items into equal rows. The pairs have different row and column counts; 797 cannot make a square array of whole items.

Divisor totals

Positive divisors
2
Sum of all divisors
798
Sum excluding 797
1
Classification
deficient

797 is deficient because its proper divisors add to 1, which is less than 797.

Understand factors and multiples

Prime factorization of 797

797 = 797

Repeated division, step by step

  1. 797 ÷ 797 = 1

Multiply the prime divisors in these steps to reconstruct 797. Each prime in this factorization occurs once. The divisor-count calculation is (1 + 1) = 2.

The preceding prime is 787. The next larger prime is 809. To check 797 for primality, it is sufficient to test possible divisors from 2 through 28.

Learn the factorization method

797 in words, Roman numerals and other bases

Equivalent representations of the integer 797
RepresentationValue
English (US style)seven hundred ninety-seven
Roman numeralDCCXCVII
Binary (base 2)1100011101
Octal (base 8)1435
Decimal (base 10)797
Hexadecimal (base 16)31D

Check the binary conversion

Read 1100011101 from right to left using place values 1, 2, 4, 8 and successive powers of two. Keep the values whose bit is 1:

512 + 256 + 16 + 8 + 4 + 1 = 797

Check the hexadecimal conversion

3 × 16^2 + 1 × 16^1 + 13 × 16^0 = 797

Hexadecimal uses A through F for digit values 10 through 15. These notations represent the same quantity; changing the base does not change the integer.

Square, cube and square root of 797

797 squared
797 × 797 = 635,209
797 cubed
797 × 797 × 797 = 506,261,573
Square root
≈ 28.231188
Simplified radical
√797

797 lies between 784 (28²) and 841 (29²), so it is not a perfect square. It is not a perfect cube.

797 is not triangular: no positive whole-number k satisfies k(k + 1) / 2 = 797.

Distinguish a square from a square root

Multiplication table for 797

These are the first twelve positive multiples. Unlike the finite factor list, the sequence of multiples continues without an upper limit.

797 × 1797
797 × 21,594
797 × 32,391
797 × 43,188
797 × 53,985
797 × 64,782
797 × 75,579
797 × 86,376
797 × 97,173
797 × 107,970
797 × 118,767
797 × 129,564

Divisibility checks

Quotients and remainders for divisors 2 through 12
Divide byWhole quotientRemainderDivides exactly?
23981No
32652No
41991No
51592No
61325No
71136No
8995No
9885No
10797No
11725No
12665No

For example, 797 = 7 × 113 + 6. A remainder of zero is what makes a divisor a factor.

Digit sum and digital root of 797

797 contains 3 decimal digits. Its digit sum is 7 + 9 + 7 = 23.

  1. 797: 7 + 9 + 7 = 23
  2. 23: 2 + 3 = 5

The digital root is 5. 797 reads the same forward and backward, making it a decimal palindrome. Digit patterns depend on the notation being used.

Digital-root arithmetic always finishes at a single digit for a positive integer. Some numerology methods stop at 11, 22 or 33 instead; that is a separate interpretive convention.

Fractions and a worked comparison

As a fraction of 100, 797/100 simplifies to 797/100 by dividing both terms by their greatest common divisor, 1. Its decimal value is 7.97. Because the numerator exceeds the denominator, this value is greater than one.

The greatest common divisor of 797 and 12 is 1. Their least common multiple is 9564. The identity GCD × LCM = 797 × 12 = 9564 checks both results.

Work through GCF and LCM

Questions about 797

What are the factors of 797?

The positive factors are 1, 797. There are 2 factors, including 1 and 797.

Is 797 a prime number?

Yes. The only positive divisors of 797 are 1 and 797.

How do you write 797 in Roman numerals?

797 is DCCXCVII in standard subtractive Roman numeral notation.

What is the binary representation of 797?

797 in decimal is 1100011101 in base 2. Adding its active place values gives 512 + 256 + 16 + 8 + 4 + 1 = 797.

Methods and reference definitions

Number JD calculates each result from the integer on this page. Positive factors are enumerated in pairs; repeated division gives the prime factorization; place values verify base conversions. Decimal square roots are rounded to six places when irrational.

Editorial policy · Report a calculation issue

NUMBER JOURNAL / JD

A reflective note on 797

Meaning varies by tradition and personal experience. One sighting is not evidence of what will happen next.

The digits of 797 add to 23. That arithmetic result is separate from the cultural symbolism of the pattern. If this number matters to you, write down what you noticed and choose one grounded action rather than treating the sighting as a prediction.