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

Step 1:
When dividing 8 by 89, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 89

Going ahead to step 2:
82 divided by 89 is 0 with a remainder of 82.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 82 to get 82.
Include the next digit (2) from the dividend after 82, then repeat: 822 / 89

On to step 3:
89 can be fit into 822 9 times, resulting in a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 801 away from 822, we end up with 21.
Include the next digit (9) from the dividend after 21, then repeat: 219 / 89

On to step 4:
89 goes into 219 2 times with a remainder of 41.
Record the quotient 2 as the next digit in the result. 
Result so far: 92.0
If we take 178 away from 219, we end up with 41.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 89

Moving on to step 5:
If we divide 417 by 89, we get 4 and a remainder of 61.
The number 4 becomes the next digit in our result. 
Result so far: 924.0
If we subtract 356 from 417, we get 61.
Take the next digit (8) from the dividend and append it to 61, then repeat: 618 / 89

Going ahead to step 6:
If we divide 618 by 89, we get 6 and a remainder of 84.
Write down 6 as next digit of the result. 
Result so far: 9246.0
The remainder is 84 after subtracting 534 from 618.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 7:
If we divide 840 by 89, we get 9 and a remainder of 39.
The number 9 becomes the next digit in our result. 
Result so far: 9246.9
Subtract 801 from 840 to get 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 8:
The number 89 fits into 390 4 times, leaving a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 9246.94
The remainder is 34 after subtracting 356 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
340 divided by 89 is 3 with a remainder of 73.
Put 3 as the next digit of the answer. 
Result so far: 9246.943
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.

Moving on to step 10:
The number 89 fits into 730 8 times, leaving a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 9246.9438
The remainder is 18 after subtracting 712 from 730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

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: 9246.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.

Advancing to step 12:
When dividing 20 by 89, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 9246.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.

Going ahead to step 13:
The number 89 fits into 200 2 times, leaving a remainder of 22.
The next digit of our result is 2. 
Result so far: 9246.9438202
Subtracting 178 from 200 leaves us 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.

Step 14:
When dividing 220 by 89, we get 2 with a remainder of 42.
Record the quotient 2 as the next digit in the result. 
Result so far: 9246.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.

In conclusion, the division gives 9246.94382022 with a balance of 4.2e-08.