In the beginning, Indians wrote 7 more or less in one stroke as a curve that looks like an uppercase ⟨J⟩ vertically inverted. The western Ghubar Arabs' 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 Arabs developed the digit from a form that looked something like our 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 early 12th century the longer line diagonal was drawn in a rather semicircular transverse line.
On the seven-segment displays of pocket calculators and digital watches, 7 is the digit with the most common graphic variation (1, 6 and 9 also have variant glyphs). Most calculators use three line segments, but on Sharp, Casio, and a few other brands of calculators, 7 is written with four line segments because, in Japan, Korea and Taiwan 7 is written with a "hook" on the left, as ① in the following illustration.
Most people in Continental Europe, and some in Britain and Ireland as well as Latin America, write 7 with a line in the middle ("7"), sometimes with the top line crooked. The line through the middle is useful to clearly differentiate the digit from the digit one, as the two 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, Finland, Romania, Germany, Greece, and Hungary.[failed verification]
7 is the lowest dimension of a known exotic sphere, although there may exist as yet unknown exotic smooth structures on the 4-dimensional sphere.
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. For example, 1/7 = 0.142857 142857... and 2/7 = 0.285714 285714....
In fact, if one sorts the digits in the number 142,857 in ascending order, 124578, it is possible to know from which of the digits the decimal part of the number is going to begin with. The remainder of dividing any number by 7 will give the position in the sequence 124578 that the decimal part of the resulting number will start. For example, 628 ÷ 7 = 89+5/7; here 5 is the remainder, and would correspond to number 7 in the ranking of the ascending sequence. So in this case, 628 ÷ 7 = 89.714285. Another example, 5238 ÷ 7 = 748+2/7, hence the remainder is 2, and this corresponds to number 2 in the sequence. In this case, 5238 ÷ 7 = 748.285714.
Wikimedia Commons has media related to [[commons:Lua error in Module:WikidataIB at line 506: attempt to index field 'wikibase' (a nil value).|Lua error in Module:WikidataIB at line 506: attempt to index field 'wikibase' (a nil value).]].