Let's divide 8404 by 37
The aim is to understand the frequency of 37 in 8404.

Step 1:
If we divide 8 by 37, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 37

Let's proceed to step 2:
84 divided by 37 is 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 74 from 84 to get 10.
Fetch the next digit (0) from the dividend, attach it to 10 and continue: 100 / 37

Going ahead to step 3:
100 divided by 37 is 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
The remainder is 26 after subtracting 74 from 100.
Bring next digit (4) of the dividend behind the 26 and repeat the process: 264 / 37

Moving on to step 4:
37 can be fit into 264 7 times, resulting in a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 227.0
Deduct 259 from 264 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 5:
The number 37 fits into 50 1 times, leaving a remainder of 13.
The next digit of our result is 1. 
Result so far: 227.1
If we subtract 37 from 50, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 6:
The number 37 fits into 130 3 times, leaving a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 227.13
Subtract 111 from 130 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
37 goes into 190 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 227.135
Subtract 185 from 190 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
50 divided by 37 is 1 with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 227.1351
If we subtract 37 from 50, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 9:
130 divided by 37 is 3 with a remainder of 19.
The next digit of our result is 3. 
Result so far: 227.13513
Deduct 111 from 130 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 10:
If we divide 190 by 37, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 227.135135
If we take 185 away from 190, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
37 goes into 50 1 times with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 227.1351351
Subtract 37 from 50 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 12:
When dividing 130 by 37, we get 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 227.13513513
Subtracting 111 from 130 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

After the division, we end up with 227.13513513 and a remainder of 1.9e-08.