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

Advancing to step 1:
The number 37 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 37

Moving on to step 2:
If we divide 80 by 37, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 6 after subtracting 74 from 80.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 37

Step 3:
The number 37 fits into 67 1 times, leaving a remainder of 30.
Use 1 as the next digit of our solution. 
Result so far: 21.0
If we take 37 away from 67, we end up with 30.
Fetch the next digit (5) from the dividend, attach it to 30 and continue: 305 / 37

Let's proceed to step 4:
The number 37 fits into 305 8 times, leaving a remainder of 9.
Use 8 as the next digit of our solution. 
Result so far: 218.0
Subtracting 296 from 305 leaves us with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 37

Step 5:
The number 37 fits into 98 2 times, leaving a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 2182.0
If we subtract 74 from 98, we get 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 37

Going ahead to step 6:
242 divided by 37 is 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 21826.0
Deduct 222 from 242 and we're left 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.

Let's proceed to step 7:
If we divide 200 by 37, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 21826.5
Subtract 185 from 200 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 8:
The number 37 fits into 150 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 21826.54
Deduct 148 from 150 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 9:
When dividing 20 by 37, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 21826.54
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 10:
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: 21826.5405
Subtract 185 from 200 to get 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:
The number 37 fits into 150 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 21826.54054
Deduct 148 from 150 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 12:
When dividing 20 by 37, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 21826.54054
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.

Step 13:
If we divide 200 by 37, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 21826.5405405
If we subtract 185 from 200, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 14:
37 can be fit into 150 4 times, resulting in a remainder of 2.
The next digit of our result is 4. 
Result so far: 21826.54054054
Subtracting 148 from 150 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 21826.54054054, with a leftover of 2e-09.