Some numbers have a pattern. The same numbers go on and on. They repeat forever. It is like a song that never ends. This helps us write them down. Can you find a pattern? 
Some numbers have a pattern. The same digits go on and on. They repeat forever. This is called a repeating decimal. 
One number repeats just one digit. It looks like 0.333 and never stops. Other numbers have longer patterns. A pattern can have many digits. It can even have thirteen digits! 
We call the repeating part the repetend. We use marks to show the pattern. Some people draw a line. Others use dots. People use different marks in different lands. These marks help us write the pattern easily.
Some numbers have patterns that never end. These are called repeating decimals. The digits in the pattern repeat forever. We call this pattern the repetend. 
One number might repeat just one digit. For example, 0.333 repeats the number 3 forever. Other numbers have longer patterns. The number 5.8144 repeats the digits 144. Some patterns are very long. One number repeats a pattern of thirteen digits! 
People use different marks to show these patterns. In the United States, people draw a line above the pattern. This line is called a vinculum. In other places, people use dots. Some use parentheses to circle the pattern. Others use an ellipsis, which is three dots. 
If a decimal stops, it is called a terminating decimal. This happens when the digits end in zeros. Repeating decimals and terminating decimals are both rational numbers. A rational number is a ratio of two integers. Numbers that never repeat and never stop are irrational. These numbers are different because they have no pattern.
Sometimes, numbers have a special kind of rhythm. When we write these numbers as decimals, the digits follow a pattern that repeats forever. We call this a repeating decimal. The part of the number that repeats is called the repetend. 
There are different ways to write these patterns on paper. Since we cannot write digits forever, we use special marks. In the United States, Canada, and many other places, people use a horizontal line called a vinculum. This line sits right above the repetend. 
We can group numbers based on how their decimals behave. If a decimal ends with zeros, it is called a terminating decimal. These numbers are like a song that has a clear ending. Repeating decimals and terminating decimals are both called rational numbers. A rational number is any number that can be written as a ratio of two integers. 
Some repeating decimals have very interesting properties. One special type is called a cyclic number. These come from certain fractions, like one seventh. The decimal for one seventh is 0.142857... and it repeats those six digits. If you multiply this fraction by different numbers, the pattern just rotates. For example, two sevenths starts with 285714... and three sevenths starts with 428571.... 
Understanding these patterns helps us see how numbers work together. You can find a repeating decimal by dividing one integer by another. For instance, if you divide by a prime number like 7, you get a pattern of six digits. If you divide by 11, you get a pattern of only two digits. 
A repeating decimal is a way to write a number where a sequence of digits repeats forever. This repeating part is called the repetend. If a decimal does not repeat and instead ends with zeros, it is called a terminating decimal. Both repeating and terminating decimals are classified as rational numbers. A rational number is any value that can be expressed as a ratio of two integers. In contrast, irrational numbers like pi or the square root of two never terminate and never enter a repeating loop. 
To understand how these patterns form, we can look at the process of long division. When you divide one integer by another, you often encounter a remainder at each step. If the remainder eventually becomes zero, the decimal is terminating. However, if the remainder never becomes zero, you will eventually see a remainder that has appeared before. Because there are only a finite number of possible remainders for any given divisor, a repeat is inevitable. Once a remainder repeats, the entire sequence of digits in the quotient begins to loop. The length of this repeating sequence is known as the period. 
Because we cannot write digits infinitely on paper, mathematicians use several different notations. In the United States, Canada, and many other countries, a horizontal line called a vinculum is drawn over the repetend. In countries like the United Kingdom, Australia, and Japan, dots are often placed above the first and last digits of the repeating sequence. In parts of Europe, such as Austria and Russia, the repetend is often enclosed in parentheses. Some regions, like Spain and Mexico, use an arc over the digits. An ellipsis, or three dots, is an informal way to show a pattern, but it can be confusing because it is also used for irrational numbers. 
Mathematics reveals that even terminating decimals have a hidden repeating side. Any terminating decimal can be rewritten as a repeating decimal using the digit nine. For example, 0.5 can be expressed as 0.4999... by decreasing the last non-zero digit by one and appending a repetend of nines. This can be achieved through a modified version of the usual division algorithm. This demonstrates that a single numerical value can have multiple valid decimal representations. 
Certain fractions produce remarkably organized patterns known as cyclic numbers. These arise from specific fractions, such as one seventh, which produces the repeating sequence 0.142857. The length of this repetend is six digits. If you multiply this fraction by different natural numbers, the resulting decimal is simply a rotation of the original sequence. For instance, two sevenths begins with 285714, while three sevenths begins with 428571. This cyclic behavior allows mathematicians to predict the results of multiplication just by knowing the original pattern. 
There are also special types of prime numbers that create highly structured decimals. A proper prime is a prime number that ends in the digit one and has a repetend length of p minus one. In these cases, every digit from zero to nine appears an equal number of times within the repeating sequence. Some of these, like 7 or 23, are also called full reptend primes. If a prime is both a full reptend prime and a safe prime, it can produce a stream of pseudo-random digits. 
The relationship between the divisor and the pattern length is governed by number theory. In base 10, a fraction will have a repeating decimal if its denominator has prime factors other than 2 or 5. For a prime denominator, the length of the repetend is related to the order of 10 modulo that prime. For example, the fraction 1/11 has a period of two, while 1/13 has a period of six. These patterns connect simple arithmetic to complex fields like group theory and modular arithmetic. 
🖼️ Images & Media (1)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.