Let's divide 501624 by 4
The aim is to understand the frequency of 4 in 501624.

Moving on to step 1:
4 goes into 5 1 times with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 4 from 5 and we're left with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 4

Going ahead to step 2:
When dividing 10 by 4, we get 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtract 8 from 10 to get 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 4

Step 3:
21 divided by 4 is 5 with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 125.0
Deduct 20 from 21 and we're left with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 4

Let's proceed to step 4:
When dividing 16 by 4, we get 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 1254.0
Subtracting 16 from 16 leaves us with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 4

On to step 5:
When dividing 2 by 4, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 12540.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 4

Advancing to step 6:
4 goes into 24 6 times with a remainder of 0.
The next digit of our result is 6. 
Result so far: 125406.0
Subtracting 24 from 24 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.

Step 7:
0 divided by 4 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 125406.0
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.

Going ahead to step 8:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 125406.0
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 125406.0 with a remaining 0.0.