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

Let's proceed to step 1:
37 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 37

Let's proceed to step 2:
The number 37 fits into 22 0 times, leaving a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 22 leaves us with 22.
Append the next digit (3) from the dividend to 22 and continue with: 223 / 37

On to step 3:
37 goes into 223 6 times with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 222 away from 223, we end up with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 37

Moving on to step 4:
37 can be fit into 14 0 times, resulting in a remainder of 14.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
The remainder is 14 after subtracting 0 from 14.
Bring next digit (8) of the dividend behind the 14 and repeat the process: 148 / 37

On to step 5:
148 divided by 37 is 4 with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 604.0
If we take 148 away from 148, we end up with 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 37

Advancing to step 6:
9 divided by 37 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 6040.0
If we take 0 away from 9, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 7:
When dividing 90 by 37, we get 2 with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 6040.2
If we subtract 74 from 90, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
When dividing 160 by 37, we get 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 6040.24
If we subtract 148 from 160, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 9:
37 can be fit into 120 3 times, resulting in a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 6040.243
If we subtract 111 from 120, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 10:
When dividing 90 by 37, we get 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 6040.2432
Deduct 74 from 90 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 11:
37 goes into 160 4 times with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 6040.24324
Deduct 148 from 160 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 12:
The number 37 fits into 120 3 times, leaving a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 6040.243243
If we subtract 111 from 120, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 13:
90 divided by 37 is 2 with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 6040.2432432
Subtracting 74 from 90 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 14:
If we divide 160 by 37, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 6040.24324324
The remainder is 12 after subtracting 148 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 6040.24324324 with a remainder of 1.2e-08.