We're dividing 506560 by 999 
The aim is to understand the frequency of 999 in 506560.

On to step 1:
The number 999 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 999

Moving on to step 2:
999 goes into 50 0 times with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Append the next digit (6) from the dividend to 50 and continue with: 506 / 999

On to step 3:
When dividing 506 by 999, we get 0 with a remainder of 506.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 506, we end up with 506.
Fetch the next digit (5) from the dividend, attach it to 506 and continue: 5065 / 999

Advancing to step 4:
5065 divided by 999 is 5 with a remainder of 70.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 4995 from 5065 leaves us with 70.
Grab the next digit (6) from the dividend, add it to 70, then carry on: 706 / 999

Let's proceed to step 5:
If we divide 706 by 999, we get 0 and a remainder of 706.
The next digit of our result is 0. 
Result so far: 50.0
Deduct 0 from 706 and we're left with 706.
Fetch the next digit (0) from the dividend, attach it to 706 and continue: 7060 / 999

Let's proceed to step 6:
7060 divided by 999 is 7 with a remainder of 67.
Write down 7 as next digit of the result. 
Result so far: 507.0
The remainder is 67 after subtracting 6993 from 7060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 7:
999 goes into 670 0 times with a remainder of 670.
Put 0 as the next digit of the answer. 
Result so far: 507.0
Subtract 0 from 670 to get 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Step 8:
If we divide 6700 by 999, we get 6 and a remainder of 706.
Put 6 as the next digit of the answer. 
Result so far: 507.06
Subtracting 5994 from 6700 leaves us with 706.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

Advancing to step 9:
7060 divided by 999 is 7 with a remainder of 67.
The number 7 becomes the next digit in our result. 
Result so far: 507.067
If we subtract 6993 from 7060, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 10:
If we divide 670 by 999, we get 0 and a remainder of 670.
The next digit of our result is 0. 
Result so far: 507.067
Subtracting 0 from 670 leaves us with 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Going ahead to step 11:
If we divide 6700 by 999, we get 6 and a remainder of 706.
Record the quotient 6 as the next digit in the result. 
Result so far: 507.06706
The remainder is 706 after subtracting 5994 from 6700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

Going ahead to step 12:
7060 divided by 999 is 7 with a remainder of 67.
Record the quotient 7 as the next digit in the result. 
Result so far: 507.067067
Subtracting 6993 from 7060 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Moving on to step 13:
When dividing 670 by 999, we get 0 with a remainder of 670.
Record the quotient 0 as the next digit in the result. 
Result so far: 507.067067
Subtracting 0 from 670 leaves us with 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Advancing to step 14:
When dividing 6700 by 999, we get 6 with a remainder of 706.
Use 6 as the next digit of our solution. 
Result so far: 507.06706706
Subtract 5994 from 6700 to get 706.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

The final outcome is 507.06706706, with a leftover of 7.06e-07.