5 (five) is a number, numeral and digit. It is the natural number, and cardinal number, following 4 and preceding 6, and is a prime number. It has garnered attention throughout history in part because distal extremities in humans typically contain five digits.
The evolution of the modern Western digit for the numeral 5 cannot be traced back to the Indian system, as for the digits 1 to 4. The Kushana and Gupta empires in what is now India had among themselves several forms that bear no resemblance to the modern digit. The Nagari and Punjabi took these digits and all came up with forms that were similar to a lowercase "h" rotated 180°. The Ghubar Arabs transformed the digit in several ways, producing from that were more similar to the digits 4 or 3 than to 5. It was from those digits that Europeans finally came up with the modern 5.
While the shape of the character for the digit 5 has an ascender in most modern typefaces, in typefaces with text figures the glyph usually has a descender, as, for example, in .
On the seven-segment display of a calculator and digital clock, it is represented by five segments at four successive turns from top to bottom, rotating counterclockwise first, then clockwise, and vice-versa. It is one of three numbers, along with 4 and 6, where the number of segments matches the number.
Five is the third smallest prime number, and the second super-prime. It is the first safe prime, the first good prime, the first balanced prime, and the first of three known Wilson primes. Five is the second Fermat prime, the second Proth prime, and the third Mersenne prime exponent, as well as the third Catalan number and the third Sophie Germain prime. Notably, 5 is equal to the sum of the only consecutive primes 2 + 3 and it is the only number that is part of more than one pair of twin primes, (3, 5) and (5, 7). It also forms the first pair of sexy primes with 11, which is the fifth prime number and Heegner number, as well as the first repunit prime in decimal; a base in-which five is also the first non-trivial 1-automorphic number.