Let's divide 599162 by 8
The aim is to understand the frequency of 8 in 599162.

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
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 8

On to step 2:
The number 8 fits into 59 7 times, leaving a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtract 56 from 59 to get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 8

Step 3:
39 divided by 8 is 4 with a remainder of 7.
Put 4 as the next digit of the answer. 
Result so far: 74.0
If we take 32 away from 39, we end up with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 8

Step 4:
When dividing 71 by 8, we get 8 with a remainder of 7.
Write down 8 as next digit of the result. 
Result so far: 748.0
Subtracting 64 from 71 leaves us with 7.
Append the next digit (6) from the dividend to 7 and continue with: 76 / 8

Step 5:
When dividing 76 by 8, we get 9 with a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 7489.0
If we subtract 72 from 76, we get 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 8

On to step 6:
42 divided by 8 is 5 with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 74895.0
Subtracting 40 from 42 leaves us 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 7:
8 goes into 20 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 74895.2
Subtracting 16 from 20 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 8:
When dividing 40 by 8, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 74895.25
Subtracting 40 from 40 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.

On to step 9:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 74895.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:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 74895.25
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.

The final result is 74895.25 with a remainder of 0.0.