301187 divided by 9 
The aim is to understand the frequency of 9 in 301187.

Let's proceed to step 1:
If we divide 3 by 9, we get 0 and 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.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 9

Step 2:
9 goes into 30 3 times with a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 27 from 30 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 9

Going ahead to step 3:
The number 9 fits into 31 3 times, leaving a remainder of 4.
The next digit of our result is 3. 
Result so far: 33.0
Deduct 27 from 31 and we're left with 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 9

Advancing to step 4:
41 divided by 9 is 4 with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 334.0
Subtracting 36 from 41 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 9

Step 5:
If we divide 58 by 9, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 3346.0
If we subtract 54 from 58, we get 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 9

Advancing to step 6:
The number 9 fits into 47 5 times, leaving a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 33465.0
If we subtract 45 from 47, 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.

Let's proceed to step 7:
9 can be fit into 20 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 33465.2
Subtract 18 from 20 to 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.

On to step 8:
9 can be fit into 20 2 times, resulting in a remainder of 2.
The next digit of our result is 2. 
Result so far: 33465.22
Deduct 18 from 20 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.

Our division results in 33465.22 with a remaining 0.002.