WOLFRAM|DEMONSTRATIONS PROJECT

Repeating Decimals

​
number of repeated digits n
1
2
3
4
5
6
7
8
9
10
decimal position
1
0
1
2
3
4
5
6
7
8
9
2
0
1
2
3
4
5
6
7
8
9
3
0
1
2
3
4
5
6
7
8
9
4
0
1
2
3
4
5
6
7
8
9
5
0
1
2
3
4
5
6
7
8
9
6
0
1
2
3
4
5
6
7
8
9
7
0
1
2
3
4
5
6
7
8
9
8
0
1
2
3
4
5
6
7
8
9
9
0
1
2
3
4
5
6
7
8
9
10
0
1
2
3
4
5
6
7
8
9
23
99
0.232323232323232323232323232323
…
When the decimal form of a rational number in
(0,1)
has a repeated pattern of digits after the decimal point, it is equivalent to a fraction. This Demonstration calculates the fractional form of repeating decimals up to 10 digits. You can vary
n
and then change
n
rows of the bottom array.