312731 ÷ 37 
The aim is to understand the frequency of 37 in 312731.

Advancing to step 1:
37 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 37

Moving on to step 2:
If we divide 31 by 37, we get 0 and a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (2) from the dividend after 31, then repeat: 312 / 37

Going ahead to step 3:
312 divided by 37 is 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 8.0
The remainder is 16 after subtracting 296 from 312.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 37

Let's proceed to step 4:
167 divided by 37 is 4 with a remainder of 19.
Use 4 as the next digit of our solution. 
Result so far: 84.0
If we subtract 148 from 167, we get 19.
Include the next digit (3) from the dividend after 19, then repeat: 193 / 37

Let's proceed to step 5:
193 divided by 37 is 5 with a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 845.0
Subtracting 185 from 193 leaves us with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 37

Going ahead to step 6:
81 divided by 37 is 2 with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 8452.0
Deduct 74 from 81 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
37 goes into 70 1 times with a remainder of 33.
The next digit of our result is 1. 
Result so far: 8452.1
Subtracting 37 from 70 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 8:
If we divide 330 by 37, we get 8 and a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 8452.18
If we subtract 296 from 330, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 9:
37 goes into 340 9 times with a remainder of 7.
The next digit of our result is 9. 
Result so far: 8452.189
Deduct 333 from 340 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 10:
70 divided by 37 is 1 with a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 8452.1891
Subtract 37 from 70 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 11:
The number 37 fits into 330 8 times, leaving a remainder of 34.
Use 8 as the next digit of our solution. 
Result so far: 8452.18918
If we subtract 296 from 330, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 12:
37 goes into 340 9 times with a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 8452.189189
Subtracting 333 from 340 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 13:
If we divide 70 by 37, we get 1 and a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 8452.1891891
If we take 37 away from 70, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 14:
The number 37 fits into 330 8 times, leaving a remainder of 34.
Record the quotient 8 as the next digit in the result. 
Result so far: 8452.18918918
The remainder is 34 after subtracting 296 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

After the division, we end up with 8452.18918918 and a remainder of 3.4e-08.