20642117 divided by 871 
We're looking to find how many times 871 goes into 20642117.

Going ahead to step 1:
871 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 871

Let's proceed to step 2:
871 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 20, we get 20.
Take the next digit (6) from the dividend and append it to 20, then repeat: 206 / 871

Step 3:
If we divide 206 by 871, we get 0 and a remainder of 206.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 206 and we're left with 206.
Take the next digit (4) from the dividend and append it to 206, then repeat: 2064 / 871

Going ahead to step 4:
871 goes into 2064 2 times with a remainder of 322.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 1742 from 2064 and we're left with 322.
Append the next digit (2) from the dividend to 322 and continue with: 3222 / 871

Advancing to step 5:
If we divide 3222 by 871, we get 3 and a remainder of 609.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Deduct 2613 from 3222 and we're left with 609.
Grab the next digit (1) from the dividend, add it to 609, then carry on: 6091 / 871

Advancing to step 6:
871 can be fit into 6091 6 times, resulting in a remainder of 865.
Write down 6 as next digit of the result. 
Result so far: 236.0
If we subtract 5226 from 6091, we get 865.
Bring next digit (1) of the dividend behind the 865 and repeat the process: 8651 / 871

On to step 7:
The number 871 fits into 8651 9 times, leaving a remainder of 812.
Put 9 as the next digit of the answer. 
Result so far: 2369.0
If we subtract 7839 from 8651, we get 812.
Bring next digit (7) of the dividend behind the 812 and repeat the process: 8127 / 871

Let's proceed to step 8:
If we divide 8127 by 871, we get 9 and a remainder of 288.
Use 9 as the next digit of our solution. 
Result so far: 23699.0
The remainder is 288 after subtracting 7839 from 8127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Going ahead to step 9:
The number 871 fits into 2880 3 times, leaving a remainder of 267.
The next digit of our result is 3. 
Result so far: 23699.3
Deduct 2613 from 2880 and we're left with 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

On to step 10:
When dividing 2670 by 871, we get 3 with a remainder of 57.
The number 3 becomes the next digit in our result. 
Result so far: 23699.33
The remainder is 57 after subtracting 2613 from 2670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Our division results in 23699.33 with a remaining 0.057.