We're dividing 331349 by 21 
Let's see how many times 21 fits into 331349.

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
The remainder is 3 after subtracting 0 from 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 21

Advancing to step 2:
The number 21 fits into 33 1 times, leaving a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 21 from 33 to get 12.
Take the next digit (1) from the dividend and append it to 12, then repeat: 121 / 21

Let's proceed to step 3:
The number 21 fits into 121 5 times, leaving a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 15.0
If we subtract 105 from 121, we get 16.
Append the next digit (3) from the dividend to 16 and continue with: 163 / 21

Moving on to step 4:
If we divide 163 by 21, we get 7 and a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 157.0
Deduct 147 from 163 and we're left with 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 21

Advancing to step 5:
If we divide 164 by 21, we get 7 and a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 1577.0
Subtracting 147 from 164 leaves us with 17.
Include the next digit (9) from the dividend after 17, then repeat: 179 / 21

On to step 6:
The number 21 fits into 179 8 times, leaving a remainder of 11.
Record the quotient 8 as the next digit in the result. 
Result so far: 15778.0
If we take 168 away from 179, 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.

On to step 7:
110 divided by 21 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 15778.5
The remainder is 5 after subtracting 105 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
When dividing 50 by 21, we get 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 15778.52
If we subtract 42 from 50, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
If we divide 80 by 21, we get 3 and a remainder of 17.
The next digit of our result is 3. 
Result so far: 15778.523
Subtract 63 from 80 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
170 divided by 21 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 15778.5238
Deduct 168 from 170 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 11:
When dividing 20 by 21, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 15778.5238
Deduct 0 from 20 and we're left 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.

Let's proceed to step 12:
When dividing 200 by 21, we get 9 with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 15778.523809
Deduct 189 from 200 and we're left 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.

Step 13:
21 can be fit into 110 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 15778.5238095
The remainder is 5 after subtracting 105 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 14:
21 can be fit into 50 2 times, resulting in a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 15778.52380952
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.

Our division results in 15778.52380952 with a remaining 8e-09.