Let’s divide 5 by 7 and see what happens.
.7
142857
142857…
7|5.0000000000000
4 9
1
0
7
3
0
28
2
0
14
6
0
56
4
0
35
5
0
49
1
Same remainder!
Thus, the process must repeat.