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

Step 1:
2 divided by 37 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 37

Going ahead to step 2:
22 divided by 37 is 0 with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 22, we end up with 22.
Take the next digit (4) from the dividend and append it to 22, then repeat: 224 / 37

On to step 3:
224 divided by 37 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 2 after subtracting 222 from 224.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 37

Advancing to step 4:
37 goes into 22 0 times with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 60.0
Subtracting 0 from 22 leaves us with 22.
Fetch the next digit (3) from the dividend, attach it to 22 and continue: 223 / 37

Advancing to step 5:
When dividing 223 by 37, we get 6 with a remainder of 1.
The next digit of our result is 6. 
Result so far: 606.0
Subtracting 222 from 223 leaves us with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 37

Going ahead to step 6:
When dividing 11 by 37, we get 0 with a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 6060.0
If we subtract 0 from 11, 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.

Moving on to step 7:
37 can be fit into 110 2 times, resulting in a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 6060.2
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.

On to step 8:
When dividing 360 by 37, we get 9 with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 6060.29
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.

Advancing to step 9:
37 goes into 270 7 times with a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 6060.297
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 10:
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: 6060.2972
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.

Going ahead to step 11:
37 goes into 360 9 times with a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 6060.29729
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.

Moving on to step 12:
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: 6060.297297
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 13:
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: 6060.2972972
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.

Advancing to step 14:
37 goes into 360 9 times with a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 6060.29729729
If we take 333 away from 360, we end up 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.

Our division results in 6060.29729729 with a remaining 2.7e-08.