Let's divide 487863 by 31
Our goal is to divide 487863 by 31.

Step 1:
When dividing 4 by 31, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 31

Step 2:
When dividing 48 by 31, we get 1 with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 17 after subtracting 31 from 48.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 31

Moving on to step 3:
If we divide 177 by 31, we get 5 and a remainder of 22.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we subtract 155 from 177, we get 22.
Append the next digit (8) from the dividend to 22 and continue with: 228 / 31

Going ahead to step 4:
The number 31 fits into 228 7 times, leaving a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 157.0
If we take 217 away from 228, we end up with 11.
Fetch the next digit (6) from the dividend, attach it to 11 and continue: 116 / 31

Going ahead to step 5:
If we divide 116 by 31, we get 3 and a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 1573.0
Deduct 93 from 116 and we're left with 23.
Bring next digit (3) of the dividend behind the 23 and repeat the process: 233 / 31

Moving on to step 6:
31 can be fit into 233 7 times, resulting in a remainder of 16.
Use 7 as the next digit of our solution. 
Result so far: 15737.0
Deduct 217 from 233 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 7:
31 goes into 160 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 15737.5
If we take 155 away from 160, 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.

Going ahead to step 8:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 15737.51
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 9:
When dividing 190 by 31, we get 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 15737.516
Deduct 186 from 190 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.

Let's proceed to step 10:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 15737.5161
If we take 31 away from 40, we end up 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.

Advancing to step 11:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 15737.51612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
280 divided by 31 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 15737.516129
If we take 279 away from 280, 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.

Going ahead to step 13:
31 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 15737.516129
If we take 0 away from 10, we end up 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.

Advancing to step 14:
If we divide 100 by 31, we get 3 and a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 15737.51612903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

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