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

Moving on to step 1:
When dividing 7 by 4, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 4 from 7 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 4

Going ahead to step 2:
If we divide 38 by 4, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 19.0
The remainder is 2 after subtracting 36 from 38.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 4

Advancing to step 3:
When dividing 27 by 4, we get 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 196.0
The remainder is 3 after subtracting 24 from 27.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 4

On to step 4:
The number 4 fits into 38 9 times, leaving a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 1969.0
Subtract 36 from 38 to get 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 4

Advancing to step 5:
23 divided by 4 is 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 19695.0
The remainder is 3 after subtracting 20 from 23.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 4

On to step 6:
The number 4 fits into 39 9 times, leaving a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 196959.0
If we take 36 away from 39, we end up 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.

Going ahead to step 7:
30 divided by 4 is 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 196959.7
Subtracting 28 from 30 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
When dividing 20 by 4, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 196959.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.

Going ahead to step 9:
If we divide 0 by 4, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 196959.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 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 196959.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.

Our division results in 196959.75 with a remaining 0.0.