7 (seven) is the natural number following 6 and preceding 8. It is the only prime number preceding a cube.
As an early prime number in the series of positive integers, the number seven has symbolic associations in religion, mythology, superstition and philosophy. The seven classical planets resulted in seven being the number of days in a week. 7 is often considered lucky in Western culture and is often seen as highly symbolic.
Contents
Evolution of the Arabic digit
For early Brahmi numerals, 7 was written more or less in one stroke as a curve that looks like an uppercase ⟨J⟩ vertically inverted (ᒉ). The western Arab peoples' main contribution was to make the longer line diagonal rather than straight, though they showed some tendencies to making the digit more rectilinear. The eastern Arab peoples developed the digit from a form that looked something like 6 to one that looked like an uppercase V. Both modern Arab forms influenced the European form, a two-stroke form consisting of a horizontal upper stroke joined at its right to a stroke going down to the bottom left corner, a line that is slightly curved in some font variants. As is the case with the European digit, the Cham and Khmer digit for 7 also evolved to look like their digit 1, though in a different way, so they were also concerned with making their 7 more different. For the Khmer this often involved adding a horizontal line to the top of the digit. This is analogous to the horizontal stroke through the middle that is sometimes used in handwriting in the Western world but which is almost never used in computer fonts. This horizontal stroke is, however, important to distinguish the glyph for seven from the glyph for one in writing that uses a long upstroke in the glyph for 1. In some Greek dialects of the early 12th century the longer line diagonal was drawn in a rather semicircular transverse line.
On seven-segment displays, 7 is the digit with the most common graphic variation (1, 6 and 9 also have variant glyphs). Most devices use three line segments, but devices made by some Japanese companies such as Sharp and Casio, as well as in the Koreas and Taiwan, 7 is written with four line segments because in those countries, 7 is written with a "hook" on the left, as ① in the following illustration. Further segments can give further variation. For example, Schindler elevators in the United States and Canada installed or modernized from the late 1990s onwards usually use a 16 segment display and show the digit 7 in a manner more similar to that of handwriting.
While the shape of the character for the digit 7 has an ascender in most modern typefaces, in typefaces with text figures the character usually has a descender, as, for example, in .
Most people in Continental Europe, Indonesia, and some in Britain, Ireland, Israel, Canada, and Latin America, write 7 with a line through the middle (7), sometimes with the top line crooked. The line through the middle is useful to clearly differentiate that digit from the digit one, as they can appear similar when written in certain styles of handwriting. This form is used in official handwriting rules for primary school in Russia, Ukraine, Bulgaria, Poland, other Slavic countries, France, Italy, Belgium, the Netherlands, Finland, Romania, Germany, Greece, and Hungary.
In mathematics
Seven, the fourth prime number, is not only a Mersenne prime (since
2
3
−
1
=
7
{\displaystyle 2^{3}-1=7}
) but also a double Mersenne prime since the exponent, 3, is itself a Mersenne prime. It is also a Newman–Shanks–Williams prime, a Woodall prime, a factorial prime, a Harshad number, a lucky prime, a happy number (happy prime), a safe prime (the only Mersenne safe prime), a sexy prime, a Leyland number of the second kind and Leyland prime of the second kind (
2
5
−
5
2
{\displaystyle 2^{5}-5^{2}}
), and the fourth Heegner number. Seven is the lowest natural number that cannot be represented as the sum of the squares of three integers.
A seven-sided shape is a heptagon. The regular n-gons for n ⩽ 6 can be constructed by compass and straightedge alone, which makes the heptagon the first regular polygon that cannot be directly constructed with these simple tools.
7 is the only number D for which the equation 2n − D = x2 has more than two solutions for n and x natural. In particular, the equation 2n − 7 = x2 is known as the Ramanujan–Nagell equation. 7 is one of seven numbers in the positive definite quadratic integer matrix representative of all odd numbers: {1, 3, 5, 7, 11, 15, 33}.
Basic calculations
999,999 divided by 7 is exactly 142,857. Therefore, when a vulgar fraction with 7 in the denominator is converted to a decimal expansion, the result has the same six-digit repeating sequence after the decimal point, but the sequence can start with any of those six digits. In decimal representation, the reciprocal of 7 repeats six digits (as 0.142857), whose sum when cycling back to 1 is equal to 28.
In science
In psychology
In Western culture, seven is consistently listed as people's favorite number
When guessing numbers 1–10, the number 7 is most likely to be picked
Classical antiquity
The Pythagoreans invested particular numbers with unique spiritual properties. The number seven was considered to be particularly interesting because it consisted of the union of the physical (number 4) with the spiritual (number 3). In Pythagorean numerology the number 7 means spirituality.
Culture
The number seven had mystical and religious significance in Mesopotamian culture by the 22nd century BCE at the latest. This was likely because in the Sumerian sexagesimal number system, dividing by seven was the first division which resulted in infinitely repeating fractions.






