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

Let's proceed to step 1:
The number 21 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
Subtracting 0 from 3 leaves us with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 21

Moving on to step 2:
The number 21 fits into 38 1 times, leaving 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 21 from 38.
Append the next digit (7) from the dividend to 17 and continue with: 177 / 21

On to step 3:
The number 21 fits into 177 8 times, leaving a remainder of 9.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtracting 168 from 177 leaves us with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 21

Moving on to step 4:
21 goes into 99 4 times with a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 184.0
If we subtract 84 from 99, we get 15.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 21

Step 5:
21 goes into 158 7 times with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 1847.0
Subtract 147 from 158 to get 11.
Take the next digit (5) from the dividend and append it to 11, then repeat: 115 / 21

Moving on to step 6:
21 can be fit into 115 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 18475.0
Subtracting 105 from 115 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.

Let's proceed to step 7:
100 divided by 21 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 18475.4
Subtract 84 from 100 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 8:
21 can be fit into 160 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 18475.47
If we subtract 147 from 160, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 9:
If we divide 130 by 21, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 18475.476
If we subtract 126 from 130, 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.

Advancing to step 10:
When dividing 40 by 21, we get 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 18475.4761
If we take 21 away from 40, we end up 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.

On to step 11:
21 goes into 190 9 times with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 18475.47619
Subtracting 189 from 190 leaves us 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.

Let's proceed to step 12:
21 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 18475.47619
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
If we divide 100 by 21, we get 4 and a remainder of 16.
The next digit of our result is 4. 
Result so far: 18475.4761904
If we subtract 84 from 100, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 14:
When dividing 160 by 21, we get 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 18475.47619047
If we subtract 147 from 160, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 18475.47619047, and the remainder is 1.3e-08.