987647 ÷ 4 
The aim is to understand the frequency of 4 in 987647.

On to step 1:
If we divide 9 by 4, we get 2 and a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 8 away from 9, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 4

Advancing to step 2:
When dividing 18 by 4, we get 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Subtract 16 from 18 to get 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 4

Let's proceed to step 3:
4 goes into 27 6 times with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 246.0
If we take 24 away from 27, we end up with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 4

Step 4:
The number 4 fits into 36 9 times, leaving a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 2469.0
If we take 36 away from 36, we end up with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 4

Step 5:
The number 4 fits into 4 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 24691.0
If we subtract 4 from 4, 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.
Put 1 as the next digit of the answer. 
Result so far: 246911.0
If we take 4 away from 7, 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.

On to step 7:
The number 4 fits into 30 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 246911.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.

Let's proceed to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 246911.75
Subtracting 20 from 20 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.

Advancing to step 9:
If we divide 0 by 4, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 246911.75
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.

Let's proceed to step 10:
0 divided by 4 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 246911.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.

The final result is 246911.75 with a remainder of 0.0.