We divide 586346 by 8
The aim is to understand the frequency of 8 in 586346.

Moving on to step 1:
8 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 8

Going ahead to step 2:
If we divide 58 by 8, we get 7 and a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 56 away from 58, we end up with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 8

Moving on to step 3:
If we divide 26 by 8, we get 3 and a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 73.0
The remainder is 2 after subtracting 24 from 26.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 8

Let's proceed to step 4:
8 goes into 23 2 times with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 732.0
Subtracting 16 from 23 leaves us with 7.
Take the next digit (4) from the dividend and append it to 7, then repeat: 74 / 8

Going ahead to step 5:
8 goes into 74 9 times with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 7329.0
Subtracting 72 from 74 leaves us with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 8

Step 6:
8 can be fit into 26 3 times, resulting in a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 73293.0
Deduct 24 from 26 and we're left 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.

Going ahead to step 7:
8 can be fit into 20 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 73293.2
Deduct 16 from 20 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.

Moving on to step 8:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 73293.25
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.

On to step 9:
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: 73293.25
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.

Let's proceed to step 10:
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: 73293.25
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.

After the division, we end up with 73293.25 and a remainder of 0.0.