316937 divided by 89 
The aim is to understand the frequency of 89 in 316937.

On to step 1:
If we divide 3 by 89, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 89

On to step 2:
89 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (6) from the dividend, add it to 31, then carry on: 316 / 89

Moving on to step 3:
If we divide 316 by 89, we get 3 and a remainder of 49.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 267 away from 316, we end up with 49.
Bring next digit (9) of the dividend behind the 49 and repeat the process: 499 / 89

Let's proceed to step 4:
89 goes into 499 5 times with a remainder of 54.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
If we take 445 away from 499, we end up with 54.
Include the next digit (3) from the dividend after 54, then repeat: 543 / 89

Step 5:
When dividing 543 by 89, we get 6 with a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 356.0
Deduct 534 from 543 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 89

Going ahead to step 6:
97 divided by 89 is 1 with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 3561.0
If we take 89 away from 97, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
89 can be fit into 80 0 times, resulting in a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 3561.0
If we take 0 away from 80, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 8:
The number 89 fits into 800 8 times, leaving a remainder of 88.
The next digit of our result is 8. 
Result so far: 3561.08
Subtract 712 from 800 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Going ahead to step 9:
The number 89 fits into 880 9 times, leaving a remainder of 79.
The number 9 becomes the next digit in our result. 
Result so far: 3561.089
If we take 801 away from 880, we end up with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Advancing to step 10:
89 goes into 790 8 times with a remainder of 78.
Record the quotient 8 as the next digit in the result. 
Result so far: 3561.0898
Subtract 712 from 790 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Let's proceed to step 11:
If we divide 780 by 89, we get 8 and a remainder of 68.
Put 8 as the next digit of the answer. 
Result so far: 3561.08988
If we take 712 away from 780, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

The final result is 3561.08988 with a remainder of 6.8e-05.