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

Step 1:
4 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 4

Let's proceed to step 2:
If we divide 18 by 4, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 16 away from 18, we end up with 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 4

Let's proceed to step 3:
When dividing 26 by 4, we get 6 with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
Subtracting 24 from 26 leaves us with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 4

On to step 4:
27 divided by 4 is 6 with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 466.0
If we subtract 24 from 27, we get 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 4

On to step 5:
34 divided by 4 is 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 4668.0
Subtracting 32 from 34 leaves us with 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 4

Advancing to step 6:
4 can be fit into 27 6 times, resulting in a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 46686.0
Deduct 24 from 27 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.

Step 7:
30 divided by 4 is 7 with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 46686.7
Deduct 28 from 30 and we're left 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:
20 divided by 4 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 46686.75
Deduct 20 from 20 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.

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

Let's proceed to step 10:
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: 46686.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.

Our division results in 46686.75 with a remaining 0.0.