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

Moving on to step 1:
5 divided by 37 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 37

Moving on to step 2:
50 divided by 37 is 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 37 away from 50, we end up with 13.
Append the next digit (6) from the dividend to 13 and continue with: 136 / 37

Let's proceed to step 3:
When dividing 136 by 37, we get 3 with a remainder of 25.
Put 3 as the next digit of the answer. 
Result so far: 13.0
If we subtract 111 from 136, we get 25.
Fetch the next digit (7) from the dividend, attach it to 25 and continue: 257 / 37

Step 4:
37 goes into 257 6 times with a remainder of 35.
Record the quotient 6 as the next digit in the result. 
Result so far: 136.0
Deduct 222 from 257 and we're left with 35.
Fetch the next digit (5) from the dividend, attach it to 35 and continue: 355 / 37

Going ahead to step 5:
If we divide 355 by 37, we get 9 and a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 1369.0
If we take 333 away from 355, we end up with 22.
Take the next digit (1) from the dividend and append it to 22, then repeat: 221 / 37

Advancing to step 6:
The number 37 fits into 221 5 times, leaving a remainder of 36.
Put 5 as the next digit of the answer. 
Result so far: 13695.0
If we take 185 away from 221, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 7:
37 can be fit into 360 9 times, resulting in a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 13695.9
The remainder is 27 after subtracting 333 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 8:
270 divided by 37 is 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 13695.97
If we subtract 259 from 270, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 9:
When dividing 110 by 37, we get 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 13695.972
Subtracting 74 from 110 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 10:
37 can be fit into 360 9 times, resulting in a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 13695.9729
The remainder is 27 after subtracting 333 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 11:
The number 37 fits into 270 7 times, leaving a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 13695.97297
Subtracting 259 from 270 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 12:
The number 37 fits into 110 2 times, leaving a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 13695.972972
The remainder is 36 after subtracting 74 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 13:
37 goes into 360 9 times with a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 13695.9729729
The remainder is 27 after subtracting 333 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 14:
The number 37 fits into 270 7 times, leaving a remainder of 11.
The next digit of our result is 7. 
Result so far: 13695.97297297
If we subtract 259 from 270, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Our division results in 13695.97297297 with a remaining 1.1e-08.