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

On to step 1:
37 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 37

Advancing to step 2:
When dividing 38 by 37, we get 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 37 from 38, we get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 37

Going ahead to step 3:
37 goes into 11 0 times with a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Deduct 0 from 11 and we're left with 11.
Take the next digit (3) from the dividend and append it to 11, then repeat: 113 / 37

Moving on to step 4:
37 can be fit into 113 3 times, resulting in a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 103.0
Subtracting 111 from 113 leaves us with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 37

Advancing to step 5:
The number 37 fits into 21 0 times, leaving a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 1030.0
Deduct 0 from 21 and we're left with 21.
Grab the next digit (6) from the dividend, add it to 21, then carry on: 216 / 37

On to step 6:
37 can be fit into 216 5 times, resulting in a remainder of 31.
The next digit of our result is 5. 
Result so far: 10305.0
Subtract 185 from 216 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
37 goes into 310 8 times with a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 10305.8
Deduct 296 from 310 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
The number 37 fits into 140 3 times, leaving a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 10305.83
If we take 111 away from 140, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 9:
If we divide 290 by 37, we get 7 and a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 10305.837
The remainder is 31 after subtracting 259 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 10:
The number 37 fits into 310 8 times, leaving a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 10305.8378
Subtracting 296 from 310 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
If we divide 140 by 37, we get 3 and a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 10305.83783
If we subtract 111 from 140, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 12:
If we divide 290 by 37, we get 7 and a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 10305.837837
If we subtract 259 from 290, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 13:
When dividing 310 by 37, we get 8 with a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 10305.8378378
Subtracting 296 from 310 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 14:
If we divide 140 by 37, we get 3 and a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 10305.83783783
If we take 111 away from 140, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Our division results in 10305.83783783 with a remaining 2.9e-08.