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

Let's proceed to step 1:
If we divide 7 by 8, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 8

Step 2:
When dividing 77 by 8, we get 9 with a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 72 away from 77, we end up with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 8

Moving on to step 3:
8 goes into 54 6 times with a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 96.0
Subtracting 48 from 54 leaves us with 6.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 8

Moving on to step 4:
8 goes into 61 7 times with a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 967.0
Subtracting 56 from 61 leaves us with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 8

Moving on to step 5:
8 can be fit into 54 6 times, resulting in a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 9676.0
If we subtract 48 from 54, we get 6.
Append the next digit (0) from the dividend to 6 and continue with: 60 / 8

Advancing to step 6:
8 goes into 60 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 96767.0
The remainder is 4 after subtracting 56 from 60.
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 7:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 96767.5
The remainder is 0 after subtracting 40 from 40.
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 8:
8 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 96767.5
Subtract 0 from 0 to 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 9:
When dividing 0 by 8, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 96767.5
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.

Our division results in 96767.5 with a remaining 0.0.