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

Going ahead to step 1:
4 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 4

On to step 2:
The number 4 fits into 39 9 times, leaving a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we subtract 36 from 39, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 4

Step 3:
When dividing 37 by 4, we get 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 99.0
The remainder is 1 after subtracting 36 from 37.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 4

Advancing to step 4:
The number 4 fits into 17 4 times, leaving a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 994.0
Subtract 16 from 17 to get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 4

Let's proceed to step 5:
15 divided by 4 is 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 9943.0
If we take 12 away from 15, 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.

Going ahead to step 6:
4 can be fit into 30 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 9943.7
If we take 28 away from 30, 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.

Let's proceed to step 7:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 9943.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.

Moving on to step 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 9943.75
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.

Advancing to step 9:
0 divided by 4 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 9943.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.

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