In the beginning, various Hindus wrote 7 more or less in one stroke as a curve that looks like an uppercaseJ 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 character more rectilinear. The eastern Arabs developed the character from a 6 lookalike into an uppercase V lookalike. Both modern Arab forms influenced the European form, a two-stroke character consisting of a horizontal upper line joined at its right to a line going down to the bottom left corner, a line that is slightly curved in some font variants. As is the case with the European glyph, the Cham and Khmer glyph for 7 also evolved to look like their glyph for 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 above the glyph. 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 writings that use 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 number with the most common glyph 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 as ① in the illustration to the right.
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 character from the number one, as the two can appear similar when written in certain styles of handwriting. This glyph 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.
Template:Num divided by 7 is exactly Template:Num. 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.