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

Advancing to step 1:
When dividing 8 by 8, we get 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 8 from 8 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 8

Step 2:
7 divided by 8 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 10.0
Subtract 0 from 7 to get 7.
Take the next digit (3) from the dividend and append it to 7, then repeat: 73 / 8

On to step 3:
73 divided by 8 is 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 109.0
The remainder is 1 after subtracting 72 from 73.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 8

On to step 4:
17 divided by 8 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 1092.0
Subtract 16 from 17 to get 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 8

Moving on to step 5:
8 goes into 19 2 times with a remainder of 3.
The next digit of our result is 2. 
Result so far: 10922.0
The remainder is 3 after subtracting 16 from 19.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 8

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

Moving on to step 7:
8 can be fit into 30 3 times, resulting in a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 109224.3
Deduct 24 from 30 and we're left with 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.
The number 7 becomes the next digit in our result. 
Result so far: 109224.37
Subtracting 56 from 60 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.

Advancing to step 9:
40 divided by 8 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 109224.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.

On to step 10:
0 divided by 8 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 109224.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.

Going ahead to step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 109224.375
If we subtract 0 from 0, we 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.

The final result is 109224.375 with a remainder of 0.0.