# 127 (number)

 ← 126 127 128 →
Cardinal one hundred and twenty-seven
Ordinal 127th
(one hundred and twenty-seventh)
Factorization prime
Prime 31st
Divisors 1, 127
Roman numeral CXXVII
Binary 11111112
Ternary 112013
Quaternary 13334
Quinary 10025
Senary 3316
Octal 1778
Duodecimal A712
Vigesimal 6720
Base 36 3J36

127 (one hundred [and] twenty-seven) is the natural number following 126 and preceding 128. It is also a prime number.

## In mathematics

• 127 is also a cuban prime of the form $p = (x^3 - y^3) / (x - y)$, $x = y + 1$. The next prime is 131, with which it comprises a cousin prime. Because the next odd number, 129, is a semiprime, 127 is a Chen prime. 127 is greater than the arithmetic mean of its two neighboring primes, thus it is a strong prime.
• It is the first nice Friedman number in base 10, since 127 = -1 + 27, as well as binary since 1111111 = (1 + 1)111 - 1 * 1.

127 is also: