Is 397 a prime number?

Yes, 397 is a prime number: its only factors are 1 and 397. It is the 78th prime. In words it is three hundred ninety-seven, and in Roman numerals CCCXCVII.

Three hundred ninety-seven
397 is a prime number
CCCXCVIIRoman numeral
primetype
oddparity
2divisors
110001101binary
19digit sum

All facts about 397 →

Is 397 a prime number? Yes

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

78thprime number
389previous prime (gap 8)
401next prime (gap 4)

The gap to the next prime is 4; the average gap between primes near 397 is about 6.0 (ln 397).

How to write 397 in words

Three hundred ninety-seven

StyleWritten
Cardinal (US)three hundred ninety-seven
Ordinalthree hundred ninety-seventh (397th)
On a checkThree hundred ninety-seven and 00/100 dollars

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

397 in Roman numerals

397 = CCCXCVII

Break 397 into place values and write each one: 300 = CCC, 90 = XC, 7 = VII. Joined: CCCXCVII.

Properties of 397

PropertyValue
Parityodd
Number of digits3
Digit sum19
Digital root1
Reversed793
Perfect square?no
Perfect cube?no
Triangular number?no
Fibonacci number?no
Classificationdeficient

Square root, square and cube of 397

OperationResult
√39719.925 (between 19 and 20)
∛3977.35
397²157,609
397³62,570,773
1 ÷ 3970.002518891688

397 in binary, octal and hexadecimal

Base397 is written
Binary (2)1 1000 1101 (9 bits)
Ternary (3)112201
Octal (8)615
Duodecimal (12)291
Hexadecimal (16)18D
Base 36B1

Convert 397 to any base

Collatz sequence of 397

Halve if even, triple and add 1 if odd: starting from 397 it takes 27 steps to reach 1, peaking at 1,192. First steps: 397 → 1,192 → 596 → 298 → 149 → 448 → 224 → 112 → 56 → 28 → …

Multiplication table of 397

397 ×Result
397 × 1397
397 × 2794
397 × 31,191
397 × 41,588
397 × 51,985
397 × 62,382
397 × 72,779
397 × 83,176
397 × 93,573
397 × 103,970
397 × 114,367
397 × 124,764

Nearby numbers

Frequently asked questions

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