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

Advancing to step 1:
9 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 9

Advancing to step 2:
9 can be fit into 52 5 times, resulting in a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 45 from 52, we get 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 9

Let's proceed to step 3:
9 goes into 73 8 times with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
Subtracting 72 from 73 leaves us with 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 9

Going ahead to step 4:
9 can be fit into 19 2 times, resulting in a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 582.0
The remainder is 1 after subtracting 18 from 19.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 9

Moving on to step 5:
When dividing 18 by 9, we get 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 5822.0
Subtract 18 from 18 to get 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 9

Moving on to step 6:
The number 9 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 58220.0
Subtract 0 from 6 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
9 can be fit into 60 6 times, resulting in a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 58220.6
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
9 goes into 60 6 times with a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 58220.66
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 58220.66 with a remaining 0.006.