We look at the division of 312430 by 4 
The aim is to understand the frequency of 4 in 312430.

Step 1:
When dividing 3 by 4, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 4

Advancing to step 2:
If we divide 31 by 4, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtracting 28 from 31 leaves us with 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 4

Going ahead to step 3:
4 goes into 32 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Subtract 32 from 32 to get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 4

Moving on to step 4:
4 can be fit into 4 1 times, resulting in a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 781.0
If we take 4 away from 4, we end up with 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 4

Moving on to step 5:
4 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 7810.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 4

Going ahead to step 6:
4 goes into 30 7 times with a remainder of 2.
The next digit of our result is 7. 
Result so far: 78107.0
If we subtract 28 from 30, 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.

Let's proceed to step 7:
4 can be fit into 20 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 78107.5
If we take 20 away from 20, 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.

On to step 8:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 78107.5
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.

Going ahead to step 9:
0 divided by 4 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 78107.5
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.

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