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

Let's proceed to step 1:
126 goes into 7 0 times with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 126

On to step 2:
78 divided by 126 is 0 with a remainder of 78.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 78 after subtracting 0 from 78.
Append the next digit (3) from the dividend to 78 and continue with: 783 / 126

On to step 3:
126 goes into 783 6 times with a remainder of 27.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 756 from 783 to get 27.
Bring next digit (6) of the dividend behind the 27 and repeat the process: 276 / 126

Going ahead to step 4:
276 divided by 126 is 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 62.0
The remainder is 24 after subtracting 252 from 276.
Fetch the next digit (0) from the dividend, attach it to 24 and continue: 240 / 126

Advancing to step 5:
If we divide 240 by 126, we get 1 and a remainder of 114.
The next digit of our result is 1. 
Result so far: 621.0
If we subtract 126 from 240, we get 114.
Take the next digit (1) from the dividend and append it to 114, then repeat: 1141 / 126

Let's proceed to step 6:
When dividing 1141 by 126, we get 9 with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 6219.0
If we take 1134 away from 1141, we end up with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 126

Moving on to step 7:
The number 126 fits into 78 0 times, leaving a remainder of 78.
Put 0 as the next digit of the answer. 
Result so far: 62190.0
Deduct 0 from 78 and we're left with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 8:
126 goes into 780 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 62190.6
If we take 756 away from 780, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 9:
126 can be fit into 240 1 times, resulting in a remainder of 114.
Use 1 as the next digit of our solution. 
Result so far: 62190.61
Subtracting 126 from 240 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Advancing to step 10:
126 goes into 1140 9 times with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 62190.619
Deduct 1134 from 1140 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
60 divided by 126 is 0 with a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 62190.619
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 12:
126 goes into 600 4 times with a remainder of 96.
Write down 4 as next digit of the result. 
Result so far: 62190.61904
Subtract 504 from 600 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 13:
960 divided by 126 is 7 with a remainder of 78.
Write down 7 as next digit of the result. 
Result so far: 62190.619047
Subtract 882 from 960 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Step 14:
If we divide 780 by 126, we get 6 and a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 62190.6190476
If we take 756 away from 780, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 15:
When dividing 240 by 126, we get 1 with a remainder of 114.
Put 1 as the next digit of the answer. 
Result so far: 62190.61904761
If we subtract 126 from 240, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

The final result is 62190.61904761 with a remainder of 1.14e-07.