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

Let's proceed to step 1:
When dividing 3 by 9, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 9

Let's proceed to step 2:
9 can be fit into 39 4 times, resulting in a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 36 away from 39, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 9

On to step 3:
When dividing 39 by 9, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 44.0
Subtract 36 from 39 to get 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 9

Advancing to step 4:
30 divided by 9 is 3 with a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 443.0
Subtracting 27 from 30 leaves us with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 9

Advancing to step 5:
The number 9 fits into 38 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 4434.0
The remainder is 2 after subtracting 36 from 38.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 9

Let's proceed to step 6:
23 divided by 9 is 2 with a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 44342.0
The remainder is 5 after subtracting 18 from 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 7:
50 divided by 9 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 44342.5
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
50 divided by 9 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 44342.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 final result is 44342.55 with a remainder of 0.005.