We look at the division of 505980 by 6 
The aim is to understand the frequency of 6 in 505980.

Advancing to step 1:
6 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 6

Let's proceed to step 2:
50 divided by 6 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 8.0
The remainder is 2 after subtracting 48 from 50.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 6

Let's proceed to step 3:
The number 6 fits into 25 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 84.0
If we take 24 away from 25, we end up with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 6

Going ahead to step 4:
When dividing 19 by 6, we get 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 843.0
If we take 18 away from 19, we end up with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 6

Moving on to step 5:
If we divide 18 by 6, we get 3 and a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 8433.0
The remainder is 0 after subtracting 18 from 18.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 6

Step 6:
If we divide 0 by 6, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 84330.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
0 divided by 6 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84330.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
0 divided by 6 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84330.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 84330.0 and a remainder of 0.0.