We're dividing 876387 by 7 
We want to figure out the number of times 876387 can be divided by 7.

Let's proceed to step 1:
When dividing 8 by 7, we get 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 7 away from 8, we end up with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 7

Advancing to step 2:
When dividing 17 by 7, we get 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtract 14 from 17 to get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 7

On to step 3:
If we divide 36 by 7, we get 5 and a remainder of 1.
The next digit of our result is 5. 
Result so far: 125.0
If we take 35 away from 36, we end up with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 7

Step 4:
7 goes into 13 1 times with a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 1251.0
The remainder is 6 after subtracting 7 from 13.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 7

Advancing to step 5:
68 divided by 7 is 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 12519.0
If we take 63 away from 68, we end up with 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 7

Step 6:
When dividing 57 by 7, we get 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 125198.0
Deduct 56 from 57 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
7 can be fit into 10 1 times, resulting in a remainder of 3.
The next digit of our result is 1. 
Result so far: 125198.1
Subtracting 7 from 10 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 8:
7 goes into 30 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 125198.14
Deduct 28 from 30 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.

Step 9:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 125198.142
Subtract 14 from 20 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 10:
If we divide 60 by 7, we get 8 and a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 125198.1428
Subtracting 56 from 60 leaves us 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 11:
When dividing 40 by 7, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 125198.14285
Subtract 35 from 40 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 12:
50 divided by 7 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 125198.142857
If we subtract 49 from 50, 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.

Moving on to step 13:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 125198.1428571
Subtracting 7 from 10 leaves us with 3.
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 14:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 125198.14285714
Deduct 28 from 30 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.

The quotient of the division is 125198.14285714, and the remainder is 2e-09.