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

Step 1:
3 divided by 37 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 37

On to step 2:
The number 37 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 37

Advancing to step 3:
311 divided by 37 is 8 with a remainder of 15.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we subtract 296 from 311, we get 15.
Take the next digit (0) from the dividend and append it to 15, then repeat: 150 / 37

Advancing to step 4:
37 goes into 150 4 times with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 84.0
Deduct 148 from 150 and we're left with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 37

On to step 5:
When dividing 28 by 37, we get 0 with a remainder of 28.
The next digit of our result is 0. 
Result so far: 840.0
Deduct 0 from 28 and we're left with 28.
Take the next digit (4) from the dividend and append it to 28, then repeat: 284 / 37

Going ahead to step 6:
If we divide 284 by 37, we get 7 and a remainder of 25.
Put 7 as the next digit of the answer. 
Result so far: 8407.0
Subtracting 259 from 284 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 7:
250 divided by 37 is 6 with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 8407.6
If we take 222 away from 250, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
The number 37 fits into 280 7 times, leaving a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 8407.67
Deduct 259 from 280 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 9:
The number 37 fits into 210 5 times, leaving a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 8407.675
Subtracting 185 from 210 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 10:
If we divide 250 by 37, we get 6 and a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 8407.6756
Subtract 222 from 250 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 11:
280 divided by 37 is 7 with a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 8407.67567
If we take 259 away from 280, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 12:
When dividing 210 by 37, we get 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 8407.675675
The remainder is 25 after subtracting 185 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 13:
If we divide 250 by 37, we get 6 and a remainder of 28.
The next digit of our result is 6. 
Result so far: 8407.6756756
If we subtract 222 from 250, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 14:
If we divide 280 by 37, we get 7 and a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 8407.67567567
Subtract 259 from 280 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The quotient of the division is 8407.67567567, and the remainder is 2.1e-08.