We're dividing 9989719 by 126 
The aim is to understand the frequency of 126 in 9989719.

Step 1:
126 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 126

On to step 2:
If we divide 99 by 126, we get 0 and a remainder of 99.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 99, we end up with 99.
Bring next digit (8) of the dividend behind the 99 and repeat the process: 998 / 126

Step 3:
998 divided by 126 is 7 with a remainder of 116.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 882 from 998 to get 116.
Append the next digit (9) from the dividend to 116 and continue with: 1169 / 126

Let's proceed to step 4:
126 goes into 1169 9 times with a remainder of 35.
Use 9 as the next digit of our solution. 
Result so far: 79.0
Deduct 1134 from 1169 and we're left with 35.
Append the next digit (7) from the dividend to 35 and continue with: 357 / 126

Going ahead to step 5:
When dividing 357 by 126, we get 2 with a remainder of 105.
Put 2 as the next digit of the answer. 
Result so far: 792.0
Subtract 252 from 357 to get 105.
Append the next digit (1) from the dividend to 105 and continue with: 1051 / 126

Moving on to step 6:
126 goes into 1051 8 times with a remainder of 43.
Use 8 as the next digit of our solution. 
Result so far: 7928.0
If we take 1008 away from 1051, we end up with 43.
Take the next digit (9) from the dividend and append it to 43, then repeat: 439 / 126

Going ahead to step 7:
126 goes into 439 3 times with a remainder of 61.
The number 3 becomes the next digit in our result. 
Result so far: 79283.0
If we subtract 378 from 439, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

On to step 8:
126 can be fit into 610 4 times, resulting in a remainder of 106.
Put 4 as the next digit of the answer. 
Result so far: 79283.4
Subtract 504 from 610 to get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Step 9:
When dividing 1060 by 126, we get 8 with a remainder of 52.
Put 8 as the next digit of the answer. 
Result so far: 79283.48
If we subtract 1008 from 1060, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 10:
When dividing 520 by 126, we get 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 79283.484
Subtracting 504 from 520 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 11:
160 divided by 126 is 1 with a remainder of 34.
The number 1 becomes the next digit in our result. 
Result so far: 79283.4841
If we subtract 126 from 160, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 12:
When dividing 340 by 126, we get 2 with a remainder of 88.
Record the quotient 2 as the next digit in the result. 
Result so far: 79283.48412
Subtracting 252 from 340 leaves us with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

On to step 13:
If we divide 880 by 126, we get 6 and a remainder of 124.
Put 6 as the next digit of the answer. 
Result so far: 79283.484126
If we subtract 756 from 880, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Moving on to step 14:
When dividing 1240 by 126, we get 9 with a remainder of 106.
Put 9 as the next digit of the answer. 
Result so far: 79283.4841269
Deduct 1134 from 1240 and we're left with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Going ahead to step 15:
126 can be fit into 1060 8 times, resulting in a remainder of 52.
Put 8 as the next digit of the answer. 
Result so far: 79283.48412698
If we subtract 1008 from 1060, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The final result is 79283.48412698 with a remainder of 5.2e-08.