Let's divide 506360 by 9
The aim is to understand the frequency of 9 in 506360.

Moving on to step 1:
9 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 9

Advancing to step 2:
If we divide 50 by 9, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 45 away from 50, we end up with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 9

Advancing to step 3:
9 can be fit into 56 6 times, resulting in a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 56.0
Subtract 54 from 56 to get 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 9

Moving on to step 4:
9 can be fit into 23 2 times, resulting in a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 562.0
Subtract 18 from 23 to get 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 9

Moving on to step 5:
9 goes into 56 6 times with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 5626.0
If we take 54 away from 56, we end up with 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 9

Step 6:
20 divided by 9 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 56262.0
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.

Step 7:
9 can be fit into 20 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 56262.2
If we take 18 away from 20, we end up 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.

Step 8:
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: 56262.22
Subtracting 18 from 20 leaves us 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.

In conclusion, the division gives 56262.22 with a balance of 0.002.