We divide 935887 by 4
The aim is to understand the frequency of 4 in 935887.

Step 1:
9 divided by 4 is 2 with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 8 from 9 to get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 4

Advancing to step 2:
If we divide 13 by 4, we get 3 and a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 1 after subtracting 12 from 13.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 4

Advancing to step 3:
15 divided by 4 is 3 with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 233.0
Deduct 12 from 15 and we're left with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 4

Moving on to step 4:
4 can be fit into 38 9 times, resulting in a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 2339.0
If we subtract 36 from 38, we get 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 4

On to step 5:
28 divided by 4 is 7 with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 23397.0
If we subtract 28 from 28, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 4

Moving on to step 6:
7 divided by 4 is 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 233971.0
Deduct 4 from 7 and we're left 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:
If we divide 30 by 4, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 233971.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.

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

Moving on to step 9:
0 divided by 4 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 233971.75
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.

Advancing to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 233971.75
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.

In conclusion, the division gives 233971.75 with a balance of 0.0.