We divide 789702 by 37
The aim is to understand the frequency of 37 in 789702.

Going ahead to step 1:
When dividing 7 by 37, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 37

Let's proceed to step 2:
The number 37 fits into 78 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 74 from 78 to get 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 37

Moving on to step 3:
37 goes into 49 1 times with a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 21.0
If we take 37 away from 49, we end up with 12.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 37

Step 4:
If we divide 127 by 37, we get 3 and a remainder of 16.
The next digit of our result is 3. 
Result so far: 213.0
If we subtract 111 from 127, we get 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 37

On to step 5:
If we divide 160 by 37, we get 4 and a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 2134.0
Deduct 148 from 160 and we're left with 12.
Append the next digit (2) from the dividend to 12 and continue with: 122 / 37

Let's proceed to step 6:
122 divided by 37 is 3 with a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 21343.0
The remainder is 11 after subtracting 111 from 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 7:
When dividing 110 by 37, we get 2 with a remainder of 36.
The next digit of our result is 2. 
Result so far: 21343.2
If we take 74 away from 110, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
360 divided by 37 is 9 with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 21343.29
The remainder is 27 after subtracting 333 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 9:
37 can be fit into 270 7 times, resulting in a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 21343.297
Subtract 259 from 270 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 10:
When dividing 110 by 37, we get 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 21343.2972
If we take 74 away from 110, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 11:
When dividing 360 by 37, we get 9 with a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 21343.29729
Subtracting 333 from 360 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 12:
37 goes into 270 7 times with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 21343.297297
The remainder is 11 after subtracting 259 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 13:
If we divide 110 by 37, we get 2 and a remainder of 36.
The next digit of our result is 2. 
Result so far: 21343.2972972
If we subtract 74 from 110, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 14:
If we divide 360 by 37, we get 9 and a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 21343.29729729
If we take 333 away from 360, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The final result is 21343.29729729 with a remainder of 2.7e-08.