517738 divided by 6 
The aim is to understand the frequency of 6 in 517738.

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
Subtracting 0 from 5 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 6

Going ahead to step 2:
The number 6 fits into 51 8 times, leaving a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 48 from 51, we get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 6

Moving on to step 3:
When dividing 37 by 6, we get 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 86.0
Subtracting 36 from 37 leaves us with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 6

Advancing to step 4:
When dividing 17 by 6, we get 2 with a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 862.0
The remainder is 5 after subtracting 12 from 17.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 6

Going ahead to step 5:
If we divide 53 by 6, we get 8 and a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 8628.0
If we take 48 away from 53, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 6

Moving on to step 6:
6 goes into 58 9 times with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 86289.0
Subtract 54 from 58 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
If we divide 40 by 6, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 86289.6
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
When dividing 40 by 6, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 86289.66
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 86289.66, with a leftover of 0.004.