Is 997 a prime number?

Yes, 997 is a prime number: its only factors are 1 and 997. It is the 168th prime. In words it is nine hundred ninety-seven, and in Roman numerals CMXCVII.

Nine hundred ninety-seven
997 is a prime number
CMXCVIIRoman numeral
primetype
oddparity
2divisors
1111100101binary
25digit sum

All facts about 997 →

Is 997 a prime number? Yes

997 has exactly two divisors, 1 and itself. To confirm it, it is enough to test the primes up to √997 ≈ 31.575: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31 — none divides 997 evenly.

168thprime number
991previous prime (gap 6)
1,009next prime (gap 12)

The gap to the next prime is 12; the average gap between primes near 997 is about 6.9 (ln 997).

How to write 997 in words

Nine hundred ninety-seven

StyleWritten
Cardinal (US)nine hundred ninety-seven
Ordinalnine hundred ninety-seventh (997th)
On a checkNine hundred ninety-seven and 00/100 dollars

In US English there is no “and” after “hundred” (nine hundred ninety-seven); British English adds it (nine hundred and ninety-seven).

997 in Roman numerals

997 = CMXCVII

Break 997 into place values and write each one: 900 = CM, 90 = XC, 7 = VII. Joined: CMXCVII.

Properties of 997

PropertyValue
Parityodd
Number of digits3
Digit sum25
Digital root7
Reversed799
Perfect square?no
Perfect cube?no
Triangular number?no
Fibonacci number?no
Classificationdeficient

Square root, square and cube of 997

OperationResult
√99731.575 (between 31 and 32)
∛9979.99
997²994,009
997³991,026,973
1 ÷ 9970.001003009027

997 in binary, octal and hexadecimal

Base997 is written
Binary (2)11 1110 0101 (10 bits)
Ternary (3)1100221
Octal (8)1745
Duodecimal (12)6B1
Hexadecimal (16)3E5
Base 36RP

Convert 997 to any base

Collatz sequence of 997

Halve if even, triple and add 1 if odd: starting from 997 it takes 49 steps to reach 1, peaking at 2,992. First steps: 997 → 2,992 → 1,496 → 748 → 374 → 187 → 562 → 281 → 844 → 422 → …

Multiplication table of 997

997 ×Result
997 × 1997
997 × 21,994
997 × 32,991
997 × 43,988
997 × 54,985
997 × 65,982
997 × 76,979
997 × 87,976
997 × 98,973
997 × 109,970
997 × 1110,967
997 × 1211,964

Nearby numbers

Frequently asked questions

Is 997 a prime number?
Yes. 997 is only divisible by 1 and itself.
How do you write 997 in words?
Nine hundred ninety-seven.
What is 997 in Roman numerals?
CMXCVII.