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

Let's proceed to step 1:
6 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 6

Moving on to step 2:
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: 6.0
If we subtract 36 from 40, we get 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 6

Moving on to step 3:
The number 6 fits into 45 7 times, leaving a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 67.0
Subtract 42 from 45 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 6

Moving on to step 4:
When dividing 31 by 6, we get 5 with a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 675.0
Subtract 30 from 31 to get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 6

Advancing to step 5:
The number 6 fits into 13 2 times, leaving a remainder of 1.
The next digit of our result is 2. 
Result so far: 6752.0
If we take 12 away from 13, we end up with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 6

Moving on to step 6:
6 can be fit into 19 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 67523.0
Deduct 18 from 19 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 6, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 67523.1
Deduct 6 from 10 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.

Advancing to step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 67523.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.

Going ahead 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: 67523.166
If we take 36 away from 40, 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.

After the division, we end up with 67523.166 and a remainder of 0.0004.