Let's divide 938015 by 89
The aim is to understand the frequency of 89 in 938015.

On to step 1:
If we divide 9 by 89, we get 0 and a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (3) from the dividend and append it to 9, then repeat: 93 / 89

Going ahead to step 2:
When dividing 93 by 89, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 89 from 93 and we're left with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 89

Moving on to step 3:
The number 89 fits into 48 0 times, leaving a remainder of 48.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 48, we get 48.
Include the next digit (0) from the dividend after 48, then repeat: 480 / 89

On to step 4:
If we divide 480 by 89, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 105.0
Deduct 445 from 480 and we're left with 35.
Bring next digit (1) of the dividend behind the 35 and repeat the process: 351 / 89

Advancing to step 5:
89 can be fit into 351 3 times, resulting in a remainder of 84.
Use 3 as the next digit of our solution. 
Result so far: 1053.0
The remainder is 84 after subtracting 267 from 351.
Bring next digit (5) of the dividend behind the 84 and repeat the process: 845 / 89

On to step 6:
845 divided by 89 is 9 with a remainder of 44.
Use 9 as the next digit of our solution. 
Result so far: 10539.0
If we subtract 801 from 845, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 7:
440 divided by 89 is 4 with a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 10539.4
Deduct 356 from 440 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 8:
When dividing 840 by 89, we get 9 with a remainder of 39.
The next digit of our result is 9. 
Result so far: 10539.49
Subtracting 801 from 840 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 9:
When dividing 390 by 89, we get 4 with a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 10539.494
If we take 356 away from 390, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 10:
89 goes into 340 3 times with a remainder of 73.
Record the quotient 3 as the next digit in the result. 
Result so far: 10539.4943
If we subtract 267 from 340, we get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

On to step 11:
If we divide 730 by 89, we get 8 and a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 10539.49438
If we take 712 away from 730, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 12:
89 can be fit into 180 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 10539.494382
If we take 178 away from 180, we end up 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.

Moving on to step 13:
If we divide 20 by 89, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 10539.494382
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 14:
89 can be fit into 200 2 times, resulting in a remainder of 22.
The next digit of our result is 2. 
Result so far: 10539.49438202
Deduct 178 from 200 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 10539.49438202 with a remaining 2.2e-08.