We divide 742977 by 4
The aim is to understand the frequency of 4 in 742977.

Moving on to step 1:
If we divide 7 by 4, we get 1 and a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 3 after subtracting 4 from 7.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 4

Going ahead to step 2:
34 divided by 4 is 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 32 from 34 to get 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 4

Going ahead to step 3:
4 can be fit into 22 5 times, resulting in a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 185.0
If we take 20 away from 22, we end up with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 4

Step 4:
The number 4 fits into 29 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 1857.0
The remainder is 1 after subtracting 28 from 29.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 4

Step 5:
4 can be fit into 17 4 times, resulting in a remainder of 1.
The next digit of our result is 4. 
Result so far: 18574.0
Deduct 16 from 17 and we're left with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 4

On to step 6:
The number 4 fits into 17 4 times, leaving a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 185744.0
Deduct 16 from 17 and we're left 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.

Step 7:
10 divided by 4 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 185744.2
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:
When dividing 20 by 4, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 185744.25
If we subtract 20 from 20, 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.

Step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 185744.25
If we take 0 away from 0, we end up 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.

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

The final outcome is 185744.25, with a leftover of 0.0.