596497 ÷ 8 
The aim is to understand the frequency of 8 in 596497.

On to step 1:
If we divide 5 by 8, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 8

Advancing 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
If we subtract 56 from 59, we get 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 8

Advancing to step 3:
The number 8 fits into 36 4 times, leaving a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 74.0
If we subtract 32 from 36, we get 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 8

Advancing to step 4:
8 can be fit into 44 5 times, resulting in a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 745.0
If we subtract 40 from 44, we get 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 8

Moving on to step 5:
The number 8 fits into 49 6 times, leaving a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 7456.0
The remainder is 1 after subtracting 48 from 49.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 8

Going ahead to step 6:
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: 74562.0
If we subtract 16 from 17, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
The number 8 fits into 10 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 74562.1
Deduct 8 from 10 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.

Moving on to step 8:
The number 8 fits into 20 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 74562.12
Subtract 16 from 20 to get 4.
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:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 74562.125
If we subtract 40 from 40, 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.

On 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: 74562.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.

Advancing to step 11:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 74562.125
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 74562.125 and a remainder of 0.0.