We look at the division of 127882 by 7 
We want to divide 127882 by 7.

Going ahead to step 1:
The number 7 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 7

Moving on to step 2:
7 goes into 12 1 times with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 7 from 12 and we're left with 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 7

Moving on to step 3:
7 can be fit into 57 8 times, resulting in a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtracting 56 from 57 leaves us with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 7

On to step 4:
18 divided by 7 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 182.0
If we take 14 away from 18, we end up with 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 7

Step 5:
If we divide 48 by 7, we get 6 and a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 1826.0
Deduct 42 from 48 and we're left with 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 7

Step 6:
7 can be fit into 62 8 times, resulting in a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 18268.0
If we subtract 56 from 62, we 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.

Moving on to step 7:
If we divide 60 by 7, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 18268.8
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.

Advancing to step 8:
7 goes into 40 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 18268.85
If we take 35 away from 40, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 9:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 18268.857
If we take 49 away from 50, we end up 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.

On to step 10:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 18268.8571
Subtract 7 from 10 to get 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 11:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 18268.85714
If we take 28 away from 30, we end up 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.

Advancing to step 12:
20 divided by 7 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 18268.857142
If we take 14 away from 20, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 13:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 18268.8571428
Deduct 56 from 60 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.

Step 14:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 18268.85714285
Subtracting 35 from 40 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final result is 18268.85714285 with a remainder of 5e-09.