We're dividing 764642 by 8 
The aim is to understand the frequency of 8 in 764642.

Going ahead to step 1:
When dividing 7 by 8, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 8

Step 2:
The number 8 fits into 76 9 times, leaving a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 72 from 76 to get 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 8

Advancing to step 3:
When dividing 44 by 8, we get 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 95.0
Subtracting 40 from 44 leaves us with 4.
Bring next digit (6) of the dividend behind the 4 and repeat the process: 46 / 8

On to step 4:
8 can be fit into 46 5 times, resulting in a remainder of 6.
Write down 5 as next digit of the result. 
Result so far: 955.0
If we take 40 away from 46, we end up with 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 8

Let's proceed to step 5:
8 goes into 64 8 times with a remainder of 0.
The next digit of our result is 8. 
Result so far: 9558.0
Deduct 64 from 64 and we're left with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 8

On to step 6:
2 divided by 8 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 95580.0
Subtracting 0 from 2 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.

Going ahead to step 7:
If we divide 20 by 8, we get 2 and a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 95580.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.

Advancing to step 8:
The number 8 fits into 40 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 95580.25
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.

Going ahead to step 9:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 95580.25
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.

On to step 10:
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: 95580.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.

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