We look at the division of 31387861 by 993 
Our goal is to divide 31387861 by 993.

Moving on to step 1:
3 divided by 993 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 993

Advancing to step 2:
993 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 993

Advancing to step 3:
If we divide 313 by 993, we get 0 and a remainder of 313.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 313, we end up with 313.
Append the next digit (8) from the dividend to 313 and continue with: 3138 / 993

Let's proceed to step 4:
When dividing 3138 by 993, we get 3 with a remainder of 159.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 2979 from 3138 leaves us with 159.
Take the next digit (7) from the dividend and append it to 159, then repeat: 1597 / 993

Let's proceed to step 5:
1597 divided by 993 is 1 with a remainder of 604.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
If we subtract 993 from 1597, we get 604.
Append the next digit (8) from the dividend to 604 and continue with: 6048 / 993

Moving on to step 6:
993 goes into 6048 6 times with a remainder of 90.
Put 6 as the next digit of the answer. 
Result so far: 316.0
Deduct 5958 from 6048 and we're left with 90.
Take the next digit (6) from the dividend and append it to 90, then repeat: 906 / 993

Step 7:
993 goes into 906 0 times with a remainder of 906.
The next digit of our result is 0. 
Result so far: 3160.0
Deduct 0 from 906 and we're left with 906.
Append the next digit (1) from the dividend to 906 and continue with: 9061 / 993

Let's proceed to step 8:
9061 divided by 993 is 9 with a remainder of 124.
The number 9 becomes the next digit in our result. 
Result so far: 31609.0
The remainder is 124 after subtracting 8937 from 9061.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Step 9:
When dividing 1240 by 993, we get 1 with a remainder of 247.
Use 1 as the next digit of our solution. 
Result so far: 31609.1
Subtract 993 from 1240 to get 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Moving on to step 10:
2470 divided by 993 is 2 with a remainder of 484.
Put 2 as the next digit of the answer. 
Result so far: 31609.12
Subtracting 1986 from 2470 leaves us with 484.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4840, and continue the process.

Let's proceed to step 11:
993 goes into 4840 4 times with a remainder of 868.
Put 4 as the next digit of the answer. 
Result so far: 31609.124
If we subtract 3972 from 4840, we get 868.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8680, and continue the process.

Advancing to step 12:
993 goes into 8680 8 times with a remainder of 736.
The next digit of our result is 8. 
Result so far: 31609.1248
The remainder is 736 after subtracting 7944 from 8680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7360, and continue the process.

Advancing to step 13:
7360 divided by 993 is 7 with a remainder of 409.
Write down 7 as next digit of the result. 
Result so far: 31609.12487
The remainder is 409 after subtracting 6951 from 7360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Step 14:
The number 993 fits into 4090 4 times, leaving a remainder of 118.
The next digit of our result is 4. 
Result so far: 31609.124874
If we take 3972 away from 4090, we end up with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Step 15:
993 goes into 1180 1 times with a remainder of 187.
Put 1 as the next digit of the answer. 
Result so far: 31609.1248741
Subtract 993 from 1180 to get 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

On to step 16:
993 goes into 1870 1 times with a remainder of 877.
The number 1 becomes the next digit in our result. 
Result so far: 31609.12487411
If we take 993 away from 1870, we end up with 877.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8770, and continue the process.

After the division, we end up with 31609.12487411 and a remainder of 8.77e-07.