Let's divide 840175 by 6
We want to divide 840175 by 6.

Let's proceed to step 1:
When dividing 8 by 6, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 6 from 8 to get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 6

Let's proceed to step 2:
6 goes into 24 4 times with a remainder of 0.
The next digit of our result is 4. 
Result so far: 14.0
If we subtract 24 from 24, we get 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 6

Step 3:
If we divide 0 by 6, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 140.0
If we subtract 0 from 0, we get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 6

Let's proceed to step 4:
6 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 1400.0
If we take 0 away from 1, we end up with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 6

Advancing to step 5:
The number 6 fits into 17 2 times, leaving a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 14002.0
Subtract 12 from 17 to get 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 6

Let's proceed to step 6:
55 divided by 6 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 140029.0
If we subtract 54 from 55, we 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.

Let's proceed to step 7:
6 can be fit into 10 1 times, resulting in a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 140029.1
Subtract 6 from 10 to get 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 8:
When dividing 40 by 6, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 140029.16
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.

Moving on to step 9:
6 goes into 40 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 140029.166
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.

Our division results in 140029.166 with a remaining 0.0004.