Let's divide 62871 by 13
We want to divide 62871 by 13.

On to step 1:
The number 13 fits into 6 0 times, leaving a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 13

Going ahead to step 2:
The number 13 fits into 62 4 times, leaving a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 52 from 62 leaves us with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 13

Step 3:
If we divide 108 by 13, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 48.0
If we take 104 away from 108, we end up with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 13

Moving on to step 4:
The number 13 fits into 47 3 times, leaving a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 483.0
Deduct 39 from 47 and we're left with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 13

Going ahead to step 5:
If we divide 81 by 13, we get 6 and a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 4836.0
Subtracting 78 from 81 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 6:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 4836.2
If we subtract 26 from 30, we 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.

Going ahead to step 7:
The number 13 fits into 40 3 times, leaving a remainder of 1.
The next digit of our result is 3. 
Result so far: 4836.23
If we subtract 39 from 40, 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.

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

Moving on to step 9:
13 goes into 100 7 times with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 4836.2307
Deduct 91 from 100 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 10:
When dividing 90 by 13, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 4836.23076
If we take 78 away from 90, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
13 goes into 120 9 times with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 4836.230769
If we subtract 117 from 120, we 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.

Going ahead to step 12:
If we divide 30 by 13, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 4836.2307692
If we subtract 26 from 30, we 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.

On to step 13:
13 can be fit into 40 3 times, resulting in a remainder of 1.
The next digit of our result is 3. 
Result so far: 4836.23076923
If we subtract 39 from 40, 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.

The final outcome is 4836.23076923, with a leftover of 1e-09.