Let's divide 338931 by 4
The aim is to understand the frequency of 4 in 338931.

Step 1:
4 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 4

On to step 2:
When dividing 33 by 4, we get 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we take 32 away from 33, we end up with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Let's proceed to step 3:
When dividing 18 by 4, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 84.0
If we take 16 away from 18, we end up with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 4

Step 4:
4 goes into 29 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 847.0
Deduct 28 from 29 and we're left with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 4

Step 5:
4 can be fit into 13 3 times, resulting in a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 8473.0
If we take 12 away from 13, we end up with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 4

Let's proceed to step 6:
When dividing 11 by 4, we get 2 with a remainder of 3.
The next digit of our result is 2. 
Result so far: 84732.0
If we take 8 away from 11, 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.

Moving on to step 7:
If we divide 30 by 4, we get 7 and a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 84732.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.

Step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 84732.75
The remainder is 0 after subtracting 20 from 20.
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:
The number 4 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 84732.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.

Step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84732.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 outcome is 84732.75, with a leftover of 0.0.