47942 divided by 4 
The aim is to understand the frequency of 4 in 47942.

Moving on to step 1:
If we divide 4 by 4, we get 1 and a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 4 from 4 leaves us with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 4

On to step 2:
When dividing 7 by 4, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we subtract 4 from 7, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 4

Advancing to step 3:
4 can be fit into 39 9 times, resulting in a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 119.0
Subtract 36 from 39 to get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 4

Advancing to step 4:
If we divide 34 by 4, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 1198.0
If we subtract 32 from 34, we get 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 4

Let's proceed to step 5:
If we divide 22 by 4, we get 5 and a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 11985.0
If we take 20 away from 22, we end up 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.

Going ahead to step 6:
When dividing 20 by 4, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 11985.5
Subtract 20 from 20 to 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 7:
0 divided by 4 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 11985.5
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.

Step 8:
0 divided by 4 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 11985.5
The remainder is 0 after subtracting 0 from 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 outcome is 11985.5, with a leftover of 0.0.