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

Moving on to step 1:
2 divided by 4 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 4

On to step 2:
The number 4 fits into 25 6 times, leaving a remainder of 1.
The next digit of our result is 6. 
Result so far: 6.0
Subtracting 24 from 25 leaves us with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 4

Moving on to step 3:
12 divided by 4 is 3 with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 63.0
If we take 12 away from 12, we end up with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 4

Going ahead to step 4:
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: 631.0
Deduct 4 from 7 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 4

On to step 5:
4 goes into 31 7 times with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 6317.0
Subtract 28 from 31 to get 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 4

On to step 6:
32 divided by 4 is 8 with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 63178.0
If we subtract 32 from 32, 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 7:
When dividing 0 by 4, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 63178.0
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.

On to step 8:
4 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 63178.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.

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