Skip to content
Number Buffet

Number analysis

197

197 is a prime number — divisible only by 1 and itself.

197 is a prime number — divisible only by 1 and itself.

PrimeTwin primeSum of two squares

The number itself

Value
197
Digits
3
Digit sum
17

1 + 9 + 7

Digit sum repeated until one digit remains; equals n mod 9 (with 9 for multiples of 9).

Reversed
791

Reverses to 791.

Parity and primality

Parity
Odd

Leaves remainder 1 on division by 2.

Prime
Yes

Divisible only by 1 and itself.

1 distinct prime factor, 1 with multiplicity.

Squarefree
Yes

No prime divides it twice.

Möbius μ(n)
-1

(−1) to the power of 1 distinct prime factors.

Twin prime
Yes — paired with 199
Nearest primes
193 ← → 199

A gap of 6 between them.

Divisors

1, 197

Aliquot sum
1

The proper divisors — everything except n itself.

Classification
Deficient

Its proper divisors fall short by 196.

How many integers from 1 to n share no factor with n.

Sums and additive structure

Sum of two squares
Yes

1² + 14² = 197

Sum of three squares
Yes

Legendre's three-square theorem allows it.

Sum of four squares
Yes

Lagrange's four-square theorem: every non-negative integer is, without exception.

Shapes and sequences

Figurate shapes
None

Not triangular, square, pentagonal, hexagonal, cubic, Fibonacci, Lucas, Catalan, factorial or a power of two.

Digit curiosities

Summing the squares of its digits falls into the 4 → 16 → 37 → … → 4 cycle.

Harshad number
No

Not divisible by its digit sum 17.

Collatz trajectory
26 steps to 1

Peaks at 592 along the way.

Written other ways

Binary
11000101
Octal
305
Base 36
5H
In words
one hundred and ninety-seven
Scientific notation
1.97 × 10^2

Is 197 a prime number?

Yes. 197 has no divisors other than 1 and itself.

Nearby numbers

Analyse any number up to a trillion · All generators

Other numeral systems

Beyond the bases and Roman numerals above, these notations write 197 their own way.

Morse code
· − − − − − − − − · − − · · ·
Devanagari
१९७
Tamil
௱௯௰௭
Thai
๑๙๗

References

Further reading: Wikipedia · Wikidata

Notations, naming and the links above come from Wikidata, whose structured data is dedicated to the public domain under CC0-1.0. Retrieved 2026-10-07.