840521 ÷ 6 
The aim is to understand the frequency of 6 in 840521.

On to step 1:
When dividing 8 by 6, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 6 away from 8, we end up with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 6

On to step 2:
If we divide 24 by 6, we get 4 and a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 14.0
Deduct 24 from 24 and we're left with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 6

Moving on to step 3:
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: 140.0
Deduct 0 from 0 and we're left with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 6

Advancing to step 4:
When dividing 5 by 6, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 1400.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 6

Going ahead to step 5:
If we divide 52 by 6, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 14008.0
The remainder is 4 after subtracting 48 from 52.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 6

Let's proceed to step 6:
41 divided by 6 is 6 with a remainder of 5.
Record the quotient 6 as the next digit in the result. 
Result so far: 140086.0
Subtracting 36 from 41 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
The number 6 fits into 50 8 times, leaving a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 140086.8
Subtracting 48 from 50 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
When dividing 20 by 6, we get 3 with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 140086.83
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
If we divide 20 by 6, we get 3 and a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 140086.833
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Our division results in 140086.833 with a remaining 0.0002.