We're dividing 316867 by 37 
The aim is to understand the frequency of 37 in 316867.

Going ahead to step 1:
37 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 37

Going ahead to step 2:
37 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Grab the next digit (6) from the dividend, add it to 31, then carry on: 316 / 37

On to step 3:
37 goes into 316 8 times with a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we take 296 away from 316, we end up with 20.
Bring next digit (8) of the dividend behind the 20 and repeat the process: 208 / 37

Advancing to step 4:
When dividing 208 by 37, we get 5 with a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 85.0
If we subtract 185 from 208, we get 23.
Include the next digit (6) from the dividend after 23, then repeat: 236 / 37

Advancing to step 5:
The number 37 fits into 236 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 856.0
If we take 222 away from 236, we end up with 14.
Include the next digit (7) from the dividend after 14, then repeat: 147 / 37

Going ahead to step 6:
The number 37 fits into 147 3 times, leaving a remainder of 36.
Use 3 as the next digit of our solution. 
Result so far: 8563.0
Deduct 111 from 147 and we're left 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.

Step 7:
The number 37 fits into 360 9 times, leaving a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 8563.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.

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: 8563.97
If we take 259 away from 270, we end up 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.

On to step 9:
When dividing 110 by 37, we get 2 with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 8563.972
If we take 74 away from 110, 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.

Moving on to step 10:
360 divided by 37 is 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 8563.9729
Subtract 333 from 360 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 11:
When dividing 270 by 37, we get 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 8563.97297
Subtract 259 from 270 to 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 12:
37 can be fit into 110 2 times, resulting in a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 8563.972972
If we subtract 74 from 110, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 13:
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: 8563.9729729
Deduct 333 from 360 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 14:
37 goes into 270 7 times with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 8563.97297297
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.

The final result is 8563.97297297 with a remainder of 1.1e-08.