We divide 742838 by 6
The aim is to understand the frequency of 6 in 742838.

Going ahead to step 1:
6 goes into 7 1 times with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 6 from 7 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 6

Moving on to step 2:
6 can be fit into 14 2 times, resulting in a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we take 12 away from 14, we end up with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 6

Going ahead to step 3:
6 can be fit into 22 3 times, resulting in a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 123.0
Subtracting 18 from 22 leaves us with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 6

Step 4:
6 can be fit into 48 8 times, resulting in a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 1238.0
Subtracting 48 from 48 leaves us with 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 6

On to step 5:
The number 6 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 12380.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 6

Advancing to step 6:
6 goes into 38 6 times with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 123806.0
Deduct 36 from 38 and we're left 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 7:
6 goes into 20 3 times with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 123806.3
If we subtract 18 from 20, we 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.

On to step 8:
The number 6 fits into 20 3 times, leaving a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 123806.33
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.

The final result is 123806.33 with a remainder of 0.002.