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

Moving on to step 1:
6 divided by 6 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 6 from 6 to get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 6

Moving on to step 2:
The number 6 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 6

Advancing to step 3:
40 divided by 6 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 106.0
If we subtract 36 from 40, we get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 6

Advancing to step 4:
48 divided by 6 is 8 with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 1068.0
If we take 48 away from 48, we end up with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 6

Step 5:
The number 6 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 10680.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 6

Moving on to step 6:
If we divide 28 by 6, we get 4 and a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 106804.0
Subtract 24 from 28 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.

Let's proceed to step 7:
When dividing 40 by 6, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 106804.6
Deduct 36 from 40 and we're left 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.

Let's proceed 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: 106804.66
If we subtract 36 from 40, we 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.

Our division results in 106804.66 with a remaining 0.004.