We look at the division of 9901246 by 126 
The aim is to understand the frequency of 126 in 9901246.

Moving on to 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
Subtract 0 from 9 to get 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 126

Advancing to step 2:
When dividing 99 by 126, we get 0 with a remainder of 99.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 99, we get 99.
Grab the next digit (0) from the dividend, add it to 99, then carry on: 990 / 126

On to step 3:
126 goes into 990 7 times with a remainder of 108.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Subtract 882 from 990 to get 108.
Include the next digit (1) from the dividend after 108, then repeat: 1081 / 126

Going ahead to step 4:
The number 126 fits into 1081 8 times, leaving a remainder of 73.
Record the quotient 8 as the next digit in the result. 
Result so far: 78.0
Subtract 1008 from 1081 to get 73.
Bring next digit (2) of the dividend behind the 73 and repeat the process: 732 / 126

Moving on to step 5:
If we divide 732 by 126, we get 5 and a remainder of 102.
Write down 5 as next digit of the result. 
Result so far: 785.0
The remainder is 102 after subtracting 630 from 732.
Append the next digit (4) from the dividend to 102 and continue with: 1024 / 126

On to step 6:
If we divide 1024 by 126, we get 8 and a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 7858.0
If we subtract 1008 from 1024, we get 16.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 126

Moving on to step 7:
The number 126 fits into 166 1 times, leaving a remainder of 40.
The next digit of our result is 1. 
Result so far: 78581.0
If we subtract 126 from 166, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 8:
126 goes into 400 3 times with a remainder of 22.
Write down 3 as next digit of the result. 
Result so far: 78581.3
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
If we divide 220 by 126, we get 1 and a remainder of 94.
Use 1 as the next digit of our solution. 
Result so far: 78581.31
If we take 126 away from 220, we end up with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Let's proceed to step 10:
When dividing 940 by 126, we get 7 with a remainder of 58.
Record the quotient 7 as the next digit in the result. 
Result so far: 78581.317
Subtracting 882 from 940 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 11:
580 divided by 126 is 4 with a remainder of 76.
Put 4 as the next digit of the answer. 
Result so far: 78581.3174
Subtracting 504 from 580 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 12:
126 can be fit into 760 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 78581.31746
Subtracting 756 from 760 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
If we divide 40 by 126, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 78581.31746
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 14:
The number 126 fits into 400 3 times, leaving a remainder of 22.
Record the quotient 3 as the next digit in the result. 
Result so far: 78581.3174603
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 15:
126 goes into 220 1 times with a remainder of 94.
The next digit of our result is 1. 
Result so far: 78581.31746031
Subtract 126 from 220 to get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

The final outcome is 78581.31746031, with a leftover of 9.4e-08.