Let's divide 828238 by 6
The aim is to understand the frequency of 6 in 828238.

Let's proceed to step 1:
8 divided by 6 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 2 after subtracting 6 from 8.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 6

Advancing to step 2:
If we divide 22 by 6, we get 3 and a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
The remainder is 4 after subtracting 18 from 22.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 6

Advancing to step 3:
If we divide 48 by 6, we get 8 and a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 138.0
If we subtract 48 from 48, we get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 6

Going ahead to step 4:
6 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 1380.0
The remainder is 2 after subtracting 0 from 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 6

Let's proceed to step 5:
6 goes into 23 3 times with a remainder of 5.
The next digit of our result is 3. 
Result so far: 13803.0
If we subtract 18 from 23, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 6

On to step 6:
When dividing 58 by 6, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 138039.0
If we take 54 away from 58, 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.

Let's proceed 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: 138039.6
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 138039.66
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.

Our division results in 138039.66 with a remaining 0.004.