127 (number)

127 is the natural number following 126 and preceding 128.

CardinalOne hundred [and]
twenty-seven
Ordinal127th
Factorizationprime number
Roman numeralCXXVII
Binary1111111
Hexadecimal7F

In mathematics

One hundred twenty-seven is a Mersenne prime, 27 - 1, and as such, in binary it is a repunit prime, a permutable prime and a palindromic prime. This also means it is the largest integer that can be represented by a signed byte. As a Mersenne prime, 127 is related to the perfect number 8128, and 2127 - 1 is also a Mersenne prime, making it a double Mersenne prime. 127 is also a cuban prime of the form p = (x3y3) / (xy), x = y + 1. The next prime is 131, with which it comprises a cousin prime.

127 is a centered hexagonal number.

It is the 7th Motzkin number.

It is a nice Friedman number in base 10, since 127 = -1 + 27, as well as binary since 1111111 = (1 + 1)111 - 1 * 1.

In other fields

One hundred twenty-seven is also:

See also: 127 (number), 100 (number), 110 (number), 119 (number), 120 (number), 121 (number), 122 (number)