We look at the division of 342872 by 9 
The aim is to understand the frequency of 9 in 342872.

Moving on to step 1:
When dividing 3 by 9, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 9

Let's proceed to step 2:
The number 9 fits into 34 3 times, leaving a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 27 from 34 to get 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 9

Step 3:
72 divided by 9 is 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 38.0
Deduct 72 from 72 and we're left with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 9

Let's proceed to step 4:
When dividing 8 by 9, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 380.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 9

Step 5:
9 goes into 87 9 times with a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 3809.0
Subtract 81 from 87 to get 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 9

Let's proceed to step 6:
When dividing 62 by 9, we get 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 38096.0
Deduct 54 from 62 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
The number 9 fits into 80 8 times, leaving a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 38096.8
Subtracting 72 from 80 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
9 goes into 80 8 times with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 38096.88
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 38096.88 with a balance of 0.008.