We divide 510495 by 6
The aim is to understand the frequency of 6 in 510495.

Let's proceed to step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 6

On to step 2:
6 goes into 51 8 times with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 8.0
The remainder is 3 after subtracting 48 from 51.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 6

Moving on to step 3:
The number 6 fits into 30 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 85.0
Deduct 30 from 30 and we're left with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 6

Step 4:
4 divided by 6 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 850.0
If we take 0 away from 4, we end up with 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 6

Advancing to step 5:
When dividing 49 by 6, we get 8 with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 8508.0
The remainder is 1 after subtracting 48 from 49.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 6

Going ahead to step 6:
The number 6 fits into 15 2 times, leaving a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 85082.0
Subtracting 12 from 15 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
30 divided by 6 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 85082.5
Subtract 30 from 30 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 6 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 85082.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
If we divide 0 by 6, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 85082.5
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.

The final outcome is 85082.5, with a leftover of 0.0.