We look at the division of 126630 by 37 
The aim is to understand the frequency of 37 in 126630.

On to step 1:
The number 37 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 37

On to step 2:
37 goes into 12 0 times with a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 37

Let's proceed to step 3:
The number 37 fits into 126 3 times, leaving a remainder of 15.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 111 away from 126, we end up with 15.
Grab the next digit (6) from the dividend, add it to 15, then carry on: 156 / 37

On to step 4:
If we divide 156 by 37, we get 4 and a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 34.0
If we subtract 148 from 156, we get 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 37

Let's proceed to step 5:
83 divided by 37 is 2 with a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 342.0
The remainder is 9 after subtracting 74 from 83.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 37

Let's proceed to step 6:
37 goes into 90 2 times with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 3422.0
The remainder is 16 after subtracting 74 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
160 divided by 37 is 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3422.4
The remainder is 12 after subtracting 148 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 8:
120 divided by 37 is 3 with a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 3422.43
Subtracting 111 from 120 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 9:
The number 37 fits into 90 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 3422.432
If we subtract 74 from 90, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 10:
When dividing 160 by 37, we get 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 3422.4324
Subtracting 148 from 160 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
The number 37 fits into 120 3 times, leaving a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 3422.43243
Subtract 111 from 120 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 12:
When dividing 90 by 37, we get 2 with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 3422.432432
If we subtract 74 from 90, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 13:
When dividing 160 by 37, we get 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 3422.4324324
Subtracting 148 from 160 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 14:
37 can be fit into 120 3 times, resulting in a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 3422.43243243
Deduct 111 from 120 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final outcome is 3422.43243243, with a leftover of 9e-09.