We divide 631742 by 9
The aim is to understand the frequency of 9 in 631742.

Let's proceed to step 1:
If we divide 6 by 9, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 9

Let's proceed to step 2:
When dividing 63 by 9, we get 7 with a remainder of 0.
The next digit of our result is 7. 
Result so far: 7.0
Subtracting 63 from 63 leaves us with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 9

Step 3:
1 divided by 9 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 70.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 9

Let's proceed to step 4:
9 goes into 17 1 times with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 701.0
Deduct 9 from 17 and we're left with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 9

Going ahead to step 5:
9 goes into 84 9 times with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 7019.0
If we subtract 81 from 84, we get 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 9

Advancing to step 6:
The number 9 fits into 32 3 times, leaving a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 70193.0
Deduct 27 from 32 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
When dividing 50 by 9, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 70193.5
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
9 can be fit into 50 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 70193.55
If we subtract 45 from 50, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 70193.55, and the remainder is 0.005.