We're dividing 966793 by 8 
The aim is to understand the frequency of 8 in 966793.

Going ahead to step 1:
8 goes into 9 1 times with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 1 after subtracting 8 from 9.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 8

Advancing to step 2:
8 can be fit into 16 2 times, resulting in a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtracting 16 from 16 leaves us with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 8

On to step 3:
If we divide 6 by 8, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 120.0
If we take 0 away from 6, we end up with 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 8

Let's proceed to step 4:
If we divide 67 by 8, we get 8 and a remainder of 3.
The next digit of our result is 8. 
Result so far: 1208.0
If we take 64 away from 67, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 8

Let's proceed to step 5:
8 can be fit into 39 4 times, resulting in a remainder of 7.
Put 4 as the next digit of the answer. 
Result so far: 12084.0
Subtract 32 from 39 to get 7.
Include the next digit (3) from the dividend after 7, then repeat: 73 / 8

Let's proceed to step 6:
If we divide 73 by 8, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 120849.0
The remainder is 1 after subtracting 72 from 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
If we divide 10 by 8, we get 1 and a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 120849.1
If we subtract 8 from 10, we get 2.
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 8:
8 goes into 20 2 times with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 120849.12
Subtracting 16 from 20 leaves us 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.

Going ahead to step 9:
40 divided by 8 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 120849.125
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 120849.125
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.

Moving on to step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 120849.125
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 120849.125 and a remainder of 0.0.