We look at the division of 31840 by 89 
The aim is to understand the frequency of 89 in 31840.

Let's proceed to step 1:
89 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 89

Let's proceed to step 2:
The number 89 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (8) from the dividend after 31, then repeat: 318 / 89

Going ahead to step 3:
89 can be fit into 318 3 times, resulting in a remainder of 51.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 267 from 318 to get 51.
Grab the next digit (4) from the dividend, add it to 51, then carry on: 514 / 89

Going ahead to step 4:
When dividing 514 by 89, we get 5 with a remainder of 69.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
If we take 445 away from 514, we end up with 69.
Take the next digit (0) from the dividend and append it to 69, then repeat: 690 / 89

Moving on to step 5:
When dividing 690 by 89, we get 7 with a remainder of 67.
Record the quotient 7 as the next digit in the result. 
Result so far: 357.0
Subtract 623 from 690 to get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Step 6:
89 can be fit into 670 7 times, resulting in a remainder of 47.
Write down 7 as next digit of the result. 
Result so far: 357.7
Deduct 623 from 670 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 7:
89 can be fit into 470 5 times, resulting in a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 357.75
Subtract 445 from 470 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 8:
When dividing 250 by 89, we get 2 with a remainder of 72.
Put 2 as the next digit of the answer. 
Result so far: 357.752
If we subtract 178 from 250, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 9:
89 can be fit into 720 8 times, resulting in a remainder of 8.
The next digit of our result is 8. 
Result so far: 357.7528
If we subtract 712 from 720, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
When dividing 80 by 89, we get 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 357.7528
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.

Moving on to step 11:
If we divide 800 by 89, we get 8 and a remainder of 88.
Use 8 as the next digit of our solution. 
Result so far: 357.752808
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.

Step 12:
The number 89 fits into 880 9 times, leaving a remainder of 79.
Record the quotient 9 as the next digit in the result. 
Result so far: 357.7528089
If we subtract 801 from 880, we get 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 13:
When dividing 790 by 89, we get 8 with a remainder of 78.
Record the quotient 8 as the next digit in the result. 
Result so far: 357.75280898
The remainder is 78 after subtracting 712 from 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

After the division, we end up with 357.75280898 and a remainder of 7.8e-08.