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

Step 1:
3 divided by 89 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 89

Moving on to step 2:
89 can be fit into 31 0 times, resulting in a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (4) from the dividend to 31 and continue with: 314 / 89

Let's proceed to step 3:
When dividing 314 by 89, we get 3 with a remainder of 47.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 267 from 314 and we're left with 47.
Grab the next digit (1) from the dividend, add it to 47, then carry on: 471 / 89

Step 4:
89 can be fit into 471 5 times, resulting in a remainder of 26.
The number 5 becomes the next digit in our result. 
Result so far: 35.0
Deduct 445 from 471 and we're left with 26.
Take the next digit (6) from the dividend and append it to 26, then repeat: 266 / 89

Going ahead to step 5:
89 goes into 266 2 times with a remainder of 88.
Record the quotient 2 as the next digit in the result. 
Result so far: 352.0
If we subtract 178 from 266, we get 88.
Append the next digit (5) from the dividend to 88 and continue with: 885 / 89

On to step 6:
The number 89 fits into 885 9 times, leaving a remainder of 84.
Write down 9 as next digit of the result. 
Result so far: 3529.0
The remainder is 84 after subtracting 801 from 885.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 7:
The number 89 fits into 840 9 times, leaving a remainder of 39.
Use 9 as the next digit of our solution. 
Result so far: 3529.9
If we take 801 away from 840, we end up 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.

Advancing to step 8:
89 goes into 390 4 times with a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 3529.94
Subtract 356 from 390 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 9:
89 can be fit into 340 3 times, resulting in a remainder of 73.
Record the quotient 3 as the next digit in the result. 
Result so far: 3529.943
Subtract 267 from 340 to 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.

Step 10:
89 goes into 730 8 times with a remainder of 18.
The next digit of our result is 8. 
Result so far: 3529.9438
Deduct 712 from 730 and we're left 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.

Let's proceed to step 11:
If we divide 180 by 89, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 3529.94382
The remainder is 2 after subtracting 178 from 180.
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:
20 divided by 89 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 3529.94382
Deduct 0 from 20 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.

Advancing to step 13:
200 divided by 89 is 2 with a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 3529.9438202
If we subtract 178 from 200, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 14:
If we divide 220 by 89, we get 2 and a remainder of 42.
The next digit of our result is 2. 
Result so far: 3529.94382022
The remainder is 42 after subtracting 178 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final result is 3529.94382022 with a remainder of 4.2e-08.