Let's divide 870831 by 6
We want to figure out the number of times 870831 can be divided by 6.

Going ahead to step 1:
When dividing 8 by 6, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 6 from 8, we get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 6

Step 2:
27 divided by 6 is 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we subtract 24 from 27, we get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 6

On to step 3:
The number 6 fits into 30 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 145.0
If we subtract 30 from 30, we get 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 6

On to step 4:
The number 6 fits into 8 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1451.0
Subtract 6 from 8 to get 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 6

Advancing to step 5:
If we divide 23 by 6, we get 3 and a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 14513.0
Subtracting 18 from 23 leaves us with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 6

Let's proceed to step 6:
6 can be fit into 51 8 times, resulting in a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 145138.0
The remainder is 3 after subtracting 48 from 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
30 divided by 6 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 145138.5
If we subtract 30 from 30, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
6 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 145138.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
When dividing 0 by 6, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 145138.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 145138.5, and the remainder is 0.0.