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

Step 1:
3 divided by 4 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 4

Step 2:
If we divide 31 by 4, we get 7 and a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we subtract 28 from 31, we get 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 4

Step 3:
If we divide 32 by 4, we get 8 and a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
The remainder is 0 after subtracting 32 from 32.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 4

Let's proceed to step 4:
If we divide 0 by 4, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 780.0
Subtracting 0 from 0 leaves us with 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 4

On to step 5:
2 divided by 4 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 7800.0
If we subtract 0 from 2, we get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 4

Advancing to step 6:
If we divide 27 by 4, we get 6 and a remainder of 3.
The next digit of our result is 6. 
Result so far: 78006.0
Deduct 24 from 27 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
4 goes into 30 7 times with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 78006.7
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.

On to step 8:
4 can be fit into 20 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 78006.75
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.

Let's proceed to step 9:
If we divide 0 by 4, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 78006.75
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.

Let's proceed to step 10:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 78006.75
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.

The quotient of the division is 78006.75, and the remainder is 0.0.