167087 divided by 8 
The aim is to understand the frequency of 8 in 167087.

Advancing to step 1:
8 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 8

On to step 2:
16 divided by 8 is 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 0 after subtracting 16 from 16.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 8

On to step 3:
7 divided by 8 is 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
If we subtract 0 from 7, we get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 8

Step 4:
70 divided by 8 is 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 208.0
Subtract 64 from 70 to get 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 8

Going ahead to step 5:
68 divided by 8 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 2088.0
Subtract 64 from 68 to get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 8

Going ahead to step 6:
8 can be fit into 47 5 times, resulting in a remainder of 7.
The number 5 becomes the next digit in our result. 
Result so far: 20885.0
The remainder is 7 after subtracting 40 from 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
8 can be fit into 70 8 times, resulting in a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 20885.8
Subtracting 64 from 70 leaves us 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.

Step 8:
8 goes into 60 7 times with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 20885.87
The remainder is 4 after subtracting 56 from 60.
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.
Use 5 as the next digit of our solution. 
Result so far: 20885.875
Deduct 40 from 40 and we're left 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.

Let's proceed 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: 20885.875
Deduct 0 from 0 and we're left 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:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 20885.875
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.

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