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

Let's proceed 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
Deduct 0 from 1 and we're left with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 8

Moving on to step 2:
The number 8 fits into 17 2 times, leaving a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 16 from 17 to get 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 8

Let's proceed to step 3:
The number 8 fits into 17 2 times, leaving a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtracting 16 from 17 leaves us with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 8

Let's proceed to step 4:
8 can be fit into 16 2 times, resulting in a remainder of 0.
The next digit of our result is 2. 
Result so far: 222.0
The remainder is 0 after subtracting 16 from 16.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 8

Let's proceed to step 5:
4 divided by 8 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 2220.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 8

Let's proceed to step 6:
46 divided by 8 is 5 with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 22205.0
Subtracting 40 from 46 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.

Going ahead to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 22205.7
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.

Going ahead to step 8:
When dividing 40 by 8, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 22205.75
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.

Step 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22205.75
The remainder is 0 after subtracting 0 from 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 10:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 22205.75
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.

The quotient of the division is 22205.75, and the remainder is 0.0.