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

Going ahead to step 1:
If we divide 5 by 37, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 37

Let's proceed to step 2:
If we divide 58 by 37, we get 1 and a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 37 away from 58, we end up with 21.
Fetch the next digit (0) from the dividend, attach it to 21 and continue: 210 / 37

Going ahead to step 3:
When dividing 210 by 37, we get 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 15.0
If we subtract 185 from 210, we get 25.
Grab the next digit (0) from the dividend, add it to 25, then carry on: 250 / 37

Step 4:
37 can be fit into 250 6 times, resulting in a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 156.0
Subtract 222 from 250 to get 28.
Grab the next digit (0) from the dividend, add it to 28, then carry on: 280 / 37

On to step 5:
280 divided by 37 is 7 with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 1567.0
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.

Step 6:
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: 1567.5
Deduct 185 from 210 and we're left 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.

On to step 7:
The number 37 fits into 250 6 times, leaving a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 1567.56
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.

Let's proceed to step 8:
280 divided by 37 is 7 with a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 1567.567
If we subtract 259 from 280, we 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.

Advancing to step 9:
37 goes into 210 5 times with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 1567.5675
Subtract 185 from 210 to get 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 10:
The number 37 fits into 250 6 times, leaving a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 1567.56756
Subtracting 222 from 250 leaves us 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.

Moving on to step 11:
280 divided by 37 is 7 with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 1567.567567
If we subtract 259 from 280, we 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.

On to step 12:
210 divided by 37 is 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 1567.5675675
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.

Step 13:
37 goes into 250 6 times with a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 1567.56756756
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.

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