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

Let's proceed to step 1:
When dividing 3 by 4, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 4

Moving on to step 2:
When dividing 39 by 4, we get 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 36 from 39 leaves us with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 4

Step 3:
If we divide 34 by 4, we get 8 and a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 98.0
Subtracting 32 from 34 leaves us with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 4

On to step 4:
4 can be fit into 20 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 985.0
Deduct 20 from 20 and we're left with 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 4

Going ahead to step 5:
If we divide 3 by 4, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 9850.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 4

Going ahead to step 6:
The number 4 fits into 37 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 98509.0
The remainder is 1 after subtracting 36 from 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
4 goes into 10 2 times with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 98509.2
If we subtract 8 from 10, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
4 can be fit into 20 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 98509.25
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.

Step 9:
4 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 98509.25
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.

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

After the division, we end up with 98509.25 and a remainder of 0.0.