Number analysis
178
178 is a composite even number that factors as 2 × 89.
178 is a composite even number that factors as 2 × 89.
The number itself
- Value
- 178
- Digits
- 3
- Digit sum
- 16
- Reversed
- 871
- Palindrome
- No
1 + 7 + 8
Digit sum repeated until one digit remains; equals n mod 9 (with 9 for multiples of 9).
Reverses to 871.
Parity and primality
- Parity
- Even
- Prime
- No
- Prime factorisation
- 2 × 89
- Squarefree
- Yes
- Semiprime
- Yes
- Möbius μ(n)
- 1
- Nearest primes
- 173 ← → 179
Divisible by 2.
Composite — it factors as 2 × 89.
2 distinct prime factors, 2 with multiplicity.
No prime divides it twice.
A product of exactly two primes, counted with multiplicity.
(−1) to the power of 2 distinct prime factors.
A gap of 6 between them.
Divisors
- Aliquot sum
- 92
- Classification
- Deficient
1, 2, 89, 178
The proper divisors — everything except n itself.
Its proper divisors fall short by 86.
How many integers from 1 to n share no factor with n.
Sums and additive structure
- Sum of two squares
- Yes
- Sum of three squares
- Yes
- Sum of four squares
- Yes
- Goldbach pair
- 5 + 173
3² + 13² = 178
Legendre's three-square theorem allows it.
Lagrange's four-square theorem: every non-negative integer is, without exception.
The smallest pair of primes summing to n. Goldbach’s conjecture says one always exists; it remains unproven.
Shapes and sequences
- Figurate shapes
- None
Not triangular, square, pentagonal, hexagonal, cubic, Fibonacci, Lucas, Catalan, factorial or a power of two.
Digit curiosities
- Happy number
- No
- Harshad number
- No
- Collatz trajectory
- 31 steps to 1
Summing the squares of its digits falls into the 4 → 16 → 37 → … → 4 cycle.
Not divisible by its digit sum 16.
Peaks at 304 along the way.
Written other ways
- Binary
- 10110010
- Octal
- 262
- Hexadecimal
- B2
- Base 36
- 4Y
- Roman numerals
- CLXXVIII
- In words
- one hundred and seventy-eight
- Scientific notation
- 1.78 × 10^2
Is 178 a prime number?
Composite — it factors as 2 × 89.
Nearby numbers
Other numeral systems
Beyond the bases and Roman numerals above, these notations write 178 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.