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

Going ahead to step 1:
8 goes into 6 0 times with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Append the next digit (2) from the dividend to 6 and continue with: 62 / 8

Advancing to step 2:
62 divided by 8 is 7 with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
The remainder is 6 after subtracting 56 from 62.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 8

Going ahead to step 3:
8 can be fit into 68 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 78.0
Deduct 64 from 68 and we're left with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 8

Step 4:
8 can be fit into 45 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 785.0
The remainder is 5 after subtracting 40 from 45.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 8

Step 5:
The number 8 fits into 58 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 7857.0
Subtracting 56 from 58 leaves us with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 8

On to step 6:
8 goes into 25 3 times with a remainder of 1.
The next digit of our result is 3. 
Result so far: 78573.0
Deduct 24 from 25 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
When dividing 10 by 8, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 78573.1
If we take 8 away from 10, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
If we divide 20 by 8, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 78573.12
The remainder is 4 after subtracting 16 from 20.
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.
Record the quotient 5 as the next digit in the result. 
Result so far: 78573.125
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.

Let's proceed to step 10:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 78573.125
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.
Record the quotient 0 as the next digit in the result. 
Result so far: 78573.125
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.

The final result is 78573.125 with a remainder of 0.0.