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

On to step 1:
If we divide 5 by 37, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 37

On to step 2:
The number 37 fits into 52 1 times, leaving a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 37 from 52, we get 15.
Include the next digit (5) from the dividend after 15, then repeat: 155 / 37

Moving on to step 3:
37 goes into 155 4 times with a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 14.0
The remainder is 7 after subtracting 148 from 155.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 37

Going ahead to step 4:
If we divide 77 by 37, we get 2 and a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 142.0
If we take 74 away from 77, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 37

Moving on to step 5:
When dividing 39 by 37, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1421.0
Subtract 37 from 39 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 6:
When dividing 20 by 37, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 1421.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 7:
The number 37 fits into 200 5 times, leaving a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 1421.05
The remainder is 15 after subtracting 185 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
If we divide 150 by 37, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 1421.054
The remainder is 2 after subtracting 148 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
37 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 1421.054
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
When dividing 200 by 37, we get 5 with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 1421.05405
Deduct 185 from 200 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 11:
150 divided by 37 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 1421.054054
If we subtract 148 from 150, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 12:
37 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 1421.054054
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 13:
The number 37 fits into 200 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 1421.05405405
Subtracting 185 from 200 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 1421.05405405, with a leftover of 1.5e-08.