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

Going ahead to step 1:
4 goes into 6 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 2 after subtracting 4 from 6.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 4

Advancing to step 2:
When dividing 28 by 4, we get 7 with a remainder of 0.
The next digit of our result is 7. 
Result so far: 17.0
The remainder is 0 after subtracting 28 from 28.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 4

On to step 3:
4 goes into 7 1 times with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 171.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

Going ahead to step 4:
4 goes into 31 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 1717.0
If we take 28 away from 31, we end up with 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 4

Step 5:
The number 4 fits into 34 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 17178.0
If we subtract 32 from 34, we get 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 4

On to step 6:
When dividing 24 by 4, we get 6 with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 171786.0
The remainder is 0 after subtracting 24 from 24.
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 7:
4 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 171786.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.

Step 8:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 171786.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.

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