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

Let's proceed to step 1:
4 can be fit into 8 2 times, resulting in a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 8 from 8 and we're left with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 4

Advancing to step 2:
4 can be fit into 7 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Subtract 4 from 7 to get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 4

Let's proceed to step 3:
38 divided by 4 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 219.0
Subtract 36 from 38 to get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 4

On to step 4:
If we divide 22 by 4, we get 5 and a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 2195.0
The remainder is 2 after subtracting 20 from 22.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 4

Let's proceed to step 5:
If we divide 28 by 4, we get 7 and a remainder of 0.
The next digit of our result is 7. 
Result so far: 21957.0
The remainder is 0 after subtracting 28 from 28.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 4

Let's proceed to step 6:
5 divided by 4 is 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 219571.0
If we take 4 away from 5, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
If we divide 10 by 4, we get 2 and a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 219571.2
If we subtract 8 from 10, 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.

Going ahead to step 8:
20 divided by 4 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 219571.25
If we subtract 20 from 20, 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.

Going ahead to step 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 219571.25
If we subtract 0 from 0, 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.

Moving on to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 219571.25
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.

The final result is 219571.25 with a remainder of 0.0.