Let's divide 20871890 by 126
The aim is to understand the frequency of 126 in 20871890.

On to step 1:
If we divide 2 by 126, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 126

Let's proceed to step 2:
The number 126 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 20 and we're left with 20.
Take the next digit (8) from the dividend and append it to 20, then repeat: 208 / 126

Moving on to step 3:
126 can be fit into 208 1 times, resulting in a remainder of 82.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 126 from 208, we get 82.
Bring next digit (7) of the dividend behind the 82 and repeat the process: 827 / 126

On to step 4:
When dividing 827 by 126, we get 6 with a remainder of 71.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtract 756 from 827 to get 71.
Grab the next digit (1) from the dividend, add it to 71, then carry on: 711 / 126

Step 5:
The number 126 fits into 711 5 times, leaving a remainder of 81.
Record the quotient 5 as the next digit in the result. 
Result so far: 165.0
Deduct 630 from 711 and we're left with 81.
Grab the next digit (8) from the dividend, add it to 81, then carry on: 818 / 126

On to step 6:
818 divided by 126 is 6 with a remainder of 62.
Write down 6 as next digit of the result. 
Result so far: 1656.0
If we take 756 away from 818, we end up with 62.
Fetch the next digit (9) from the dividend, attach it to 62 and continue: 629 / 126

Advancing to step 7:
If we divide 629 by 126, we get 4 and a remainder of 125.
Use 4 as the next digit of our solution. 
Result so far: 16564.0
The remainder is 125 after subtracting 504 from 629.
Include the next digit (0) from the dividend after 125, then repeat: 1250 / 126

Step 8:
If we divide 1250 by 126, we get 9 and a remainder of 116.
Use 9 as the next digit of our solution. 
Result so far: 165649.0
Subtract 1134 from 1250 to get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 9:
126 can be fit into 1160 9 times, resulting in a remainder of 26.
The next digit of our result is 9. 
Result so far: 165649.9
Deduct 1134 from 1160 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 10:
260 divided by 126 is 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 165649.92
Subtract 252 from 260 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 11:
126 goes into 80 0 times with a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 165649.92
Subtracting 0 from 80 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 12:
126 can be fit into 800 6 times, resulting in a remainder of 44.
Use 6 as the next digit of our solution. 
Result so far: 165649.9206
Subtract 756 from 800 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 13:
126 goes into 440 3 times with a remainder of 62.
Record the quotient 3 as the next digit in the result. 
Result so far: 165649.92063
If we take 378 away from 440, we end up with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Step 14:
620 divided by 126 is 4 with a remainder of 116.
The next digit of our result is 4. 
Result so far: 165649.920634
If we subtract 504 from 620, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

On to step 15:
126 goes into 1160 9 times with a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 165649.9206349
Subtracting 1134 from 1160 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 16:
If we divide 260 by 126, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 165649.92063492
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 165649.92063492 with a remainder of 8e-09.