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

Step 1:
6 goes into 6 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 6 from 6 and we're left with 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 6

On to step 2:
When dividing 4 by 6, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 6

Moving on to step 3:
If we divide 41 by 6, we get 6 and a remainder of 5.
The next digit of our result is 6. 
Result so far: 106.0
Deduct 36 from 41 and we're left with 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 6

On to step 4:
The number 6 fits into 52 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 1068.0
Subtracting 48 from 52 leaves us with 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 6

Advancing to step 5:
If we divide 44 by 6, we get 7 and a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 10687.0
The remainder is 2 after subtracting 42 from 44.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 6

Let's proceed to step 6:
6 goes into 25 4 times with a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 106874.0
Subtract 24 from 25 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
6 goes into 10 1 times with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 106874.1
If we take 6 away from 10, we end up 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.

Moving on to step 8:
6 goes into 40 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 106874.16
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.

On to step 9:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 106874.166
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 result is 106874.166 with a remainder of 0.0004.