We're dividing 300738 by 9 
The aim is to understand the frequency of 9 in 300738.

On to step 1:
3 divided by 9 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 9

Advancing to step 2:
If we divide 30 by 9, we get 3 and a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 3 after subtracting 27 from 30.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 9

Let's proceed to step 3:
9 goes into 30 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 33.0
If we take 27 away from 30, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 9

On to step 4:
The number 9 fits into 37 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 334.0
Subtract 36 from 37 to get 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 9

Advancing to step 5:
The number 9 fits into 13 1 times, leaving a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 3341.0
The remainder is 4 after subtracting 9 from 13.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 9

Moving on to step 6:
48 divided by 9 is 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 33415.0
Deduct 45 from 48 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.

Moving on to step 7:
9 goes into 30 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 33415.3
If we take 27 away from 30, 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.

Step 8:
30 divided by 9 is 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 33415.33
Subtracting 27 from 30 leaves us 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.

After the division, we end up with 33415.33 and a remainder of 0.003.