We divide 31881 by 13
Our goal is to divide 31881 by 13.

Let's proceed to step 1:
The number 13 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 13

Advancing to step 2:
If we divide 31 by 13, we get 2 and a remainder of 5.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 5 after subtracting 26 from 31.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 13

On to step 3:
When dividing 58 by 13, we get 4 with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 24.0
If we take 52 away from 58, we end up with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 13

Moving on to step 4:
When dividing 68 by 13, we get 5 with a remainder of 3.
The next digit of our result is 5. 
Result so far: 245.0
If we take 65 away from 68, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 13

On to step 5:
If we divide 31 by 13, we get 2 and a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2452.0
If we take 26 away from 31, 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.

Let's proceed to step 6:
If we divide 50 by 13, we get 3 and a remainder of 11.
The next digit of our result is 3. 
Result so far: 2452.3
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
13 goes into 110 8 times with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 2452.38
Subtract 104 from 110 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.

Step 8:
If we divide 60 by 13, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 2452.384
If we subtract 52 from 60, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 9:
13 can be fit into 80 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 2452.3846
If we subtract 78 from 80, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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

Step 11:
If we divide 70 by 13, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 2452.384615
Deduct 65 from 70 and we're left 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.

Let's proceed to step 12:
The number 13 fits into 50 3 times, leaving a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 2452.3846153
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 13:
When dividing 110 by 13, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 2452.38461538
Subtracting 104 from 110 leaves us 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.

The final outcome is 2452.38461538, with a leftover of 6e-09.