Let's divide 31256 by 21
Our goal is to divide 31256 by 21.

On to step 1:
3 divided by 21 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 21

Step 2:
When dividing 31 by 21, we get 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 10 after subtracting 21 from 31.
Bring next digit (2) of the dividend behind the 10 and repeat the process: 102 / 21

Let's proceed to step 3:
21 can be fit into 102 4 times, resulting in a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Subtracting 84 from 102 leaves us with 18.
Bring next digit (5) of the dividend behind the 18 and repeat the process: 185 / 21

Moving on to step 4:
When dividing 185 by 21, we get 8 with a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 148.0
Deduct 168 from 185 and we're left with 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 21

Going ahead to step 5:
If we divide 176 by 21, we get 8 and a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 1488.0
The remainder is 8 after subtracting 168 from 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 6:
21 can be fit into 80 3 times, resulting in a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 1488.3
Deduct 63 from 80 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
21 can be fit into 170 8 times, resulting in a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 1488.38
Subtract 168 from 170 to 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.

Advancing to step 8:
20 divided by 21 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 1488.38
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
The number 21 fits into 200 9 times, leaving a remainder of 11.
The next digit of our result is 9. 
Result so far: 1488.3809
If we take 189 away from 200, we end up with 11.
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 10:
The number 21 fits into 110 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 1488.38095
Subtracting 105 from 110 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.

Going ahead to step 11:
50 divided by 21 is 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 1488.380952
The remainder is 8 after subtracting 42 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 12:
When dividing 80 by 21, we get 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 1488.3809523
If we take 63 away from 80, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 13:
170 divided by 21 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 1488.38095238
If we subtract 168 from 170, 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.

After the division, we end up with 1488.38095238 and a remainder of 2e-09.