We look at the division of 168335 by 8 
The aim is to understand the frequency of 8 in 168335.

On to step 1:
If we divide 1 by 8, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 8

Going ahead to step 2:
8 goes into 16 2 times with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 16 from 16 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 8

Advancing to step 3:
8 divided by 8 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 21.0
If we take 8 away from 8, we end up with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 8

Let's proceed to step 4:
8 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 210.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 8

Let's proceed to step 5:
The number 8 fits into 33 4 times, leaving a remainder of 1.
The next digit of our result is 4. 
Result so far: 2104.0
If we take 32 away from 33, we end up with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 8

Let's proceed to step 6:
The number 8 fits into 15 1 times, leaving a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 21041.0
Subtracting 8 from 15 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
70 divided by 8 is 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 21041.8
If we take 64 away from 70, we end up 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.

Moving on to step 8:
The number 8 fits into 60 7 times, leaving a remainder of 4.
The next digit of our result is 7. 
Result so far: 21041.87
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.

Let's proceed 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: 21041.875
If we subtract 40 from 40, 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.

Moving on to step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 21041.875
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:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 21041.875
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.

The final outcome is 21041.875, with a leftover of 0.0.