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

Going ahead to step 1:
8 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 8

Let's proceed to step 2:
If we divide 42 by 8, we get 5 and a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 40 from 42 leaves us with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 8

Moving on to step 3:
If we divide 20 by 8, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 52.0
If we subtract 16 from 20, we get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 8

Moving on to step 4:
If we divide 47 by 8, we get 5 and a remainder of 7.
The number 5 becomes the next digit in our result. 
Result so far: 525.0
Subtract 40 from 47 to get 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 8

Going ahead to step 5:
If we divide 77 by 8, we get 9 and a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 5259.0
Deduct 72 from 77 and we're left with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 8

Moving on to step 6:
8 goes into 57 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 52597.0
If we take 56 away from 57, we end up 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.

Going ahead to step 7:
10 divided by 8 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 52597.1
If we subtract 8 from 10, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
20 divided by 8 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 52597.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.

Let's proceed to step 9:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 52597.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.

Going ahead to step 10:
0 divided by 8 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 52597.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.

On to step 11:
0 divided by 8 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 52597.125
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.

Our division results in 52597.125 with a remaining 0.0.