We're dividing 240712 by 4 
The aim is to understand the frequency of 4 in 240712.

On to step 1:
When dividing 2 by 4, we get 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 4

Advancing to step 2:
If we divide 24 by 4, we get 6 and a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 24 from 24 leaves us with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 4

Going ahead to step 3:
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: 60.0
The remainder is 0 after subtracting 0 from 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 4

Advancing to step 4:
When dividing 7 by 4, we get 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 601.0
The remainder is 3 after subtracting 4 from 7.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 4

Step 5:
4 can be fit into 31 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 6017.0
If we take 28 away from 31, we end up with 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 4

Advancing to step 6:
If we divide 32 by 4, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 60178.0
Subtracting 32 from 32 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:
4 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 60178.0
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.

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

The final result is 60178.0 with a remainder of 0.0.