We're dividing 331593 by 21 
Our goal is to divide 331593 by 21.

On to step 1:
21 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 21

Let's proceed to step 2:
When dividing 33 by 21, we get 1 with a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 21 from 33 to get 12.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 21

Step 3:
When dividing 121 by 21, we get 5 with a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we take 105 away from 121, we end up with 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 21

Going ahead to step 4:
165 divided by 21 is 7 with a remainder of 18.
The number 7 becomes the next digit in our result. 
Result so far: 157.0
Subtract 147 from 165 to get 18.
Bring next digit (9) of the dividend behind the 18 and repeat the process: 189 / 21

On to step 5:
When dividing 189 by 21, we get 9 with a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 1579.0
Subtract 189 from 189 to get 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 21

Going ahead to step 6:
If we divide 3 by 21, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 15790.0
Deduct 0 from 3 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
21 can be fit into 30 1 times, resulting in a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 15790.1
Subtract 21 from 30 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 8:
If we divide 90 by 21, we get 4 and a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 15790.14
Deduct 84 from 90 and we're left 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.

On to step 9:
When dividing 60 by 21, we get 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 15790.142
If we subtract 42 from 60, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 10:
180 divided by 21 is 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 15790.1428
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
21 goes into 120 5 times with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 15790.14285
Deduct 105 from 120 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 12:
The number 21 fits into 150 7 times, leaving a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 15790.142857
Subtract 147 from 150 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 13:
21 goes into 30 1 times with a remainder of 9.
The next digit of our result is 1. 
Result so far: 15790.1428571
Subtracting 21 from 30 leaves us 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.

Moving on to step 14:
21 can be fit into 90 4 times, resulting in a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 15790.14285714
The remainder is 6 after subtracting 84 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

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