Let's divide 798355 by 8
The aim is to understand the frequency of 8 in 798355.

Advancing to step 1:
If we divide 7 by 8, we get 0 and a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 8

Advancing to step 2:
8 goes into 79 9 times with a remainder of 7.
The next digit of our result is 9. 
Result so far: 9.0
If we subtract 72 from 79, we get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 8

Advancing to step 3:
8 can be fit into 78 9 times, resulting in a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 99.0
Deduct 72 from 78 and we're left with 6.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 8

On to step 4:
When dividing 63 by 8, we get 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 997.0
Subtract 56 from 63 to get 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 8

Going ahead to step 5:
The number 8 fits into 75 9 times, leaving a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 9979.0
The remainder is 3 after subtracting 72 from 75.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 8

Going ahead to step 6:
35 divided by 8 is 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 99794.0
If we subtract 32 from 35, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
The number 8 fits into 30 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 99794.3
Subtract 24 from 30 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
8 goes into 60 7 times with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 99794.37
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
40 divided by 8 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 99794.375
If we take 40 away from 40, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 99794.375
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 11:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 99794.375
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 99794.375 with a balance of 0.0.