We're dividing 334772 by 21 
We're looking to find how many times 21 goes into 334772.

Going ahead to step 1:
21 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 21

Moving on to step 2:
If we divide 33 by 21, we get 1 and a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 21 away from 33, we end up with 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 21

On to step 3:
If we divide 124 by 21, we get 5 and a remainder of 19.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
If we take 105 away from 124, we end up with 19.
Take the next digit (7) from the dividend and append it to 19, then repeat: 197 / 21

Advancing to step 4:
197 divided by 21 is 9 with a remainder of 8.
Put 9 as the next digit of the answer. 
Result so far: 159.0
Deduct 189 from 197 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 21

Going ahead to step 5:
21 goes into 87 4 times with a remainder of 3.
The next digit of our result is 4. 
Result so far: 1594.0
If we take 84 away from 87, we end up with 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 21

Step 6:
The number 21 fits into 32 1 times, leaving a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 15941.0
If we take 21 away from 32, 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:
If we divide 110 by 21, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 15941.5
If we take 105 away from 110, 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.

Moving on to step 8:
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: 15941.52
If we take 42 away from 50, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
80 divided by 21 is 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 15941.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.

On to step 10:
The number 21 fits into 170 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 15941.5238
Subtracting 168 from 170 leaves us 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:
21 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 15941.5238
Subtracting 0 from 20 leaves us 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.

On to step 12:
When dividing 200 by 21, we get 9 with a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 15941.523809
Subtract 189 from 200 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 13:
110 divided by 21 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 15941.5238095
Subtracting 105 from 110 leaves us 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.

Advancing to step 14:
50 divided by 21 is 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 15941.52380952
If we take 42 away from 50, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 15941.52380952 with a remainder of 8e-09.