We're dividing 165793 by 21 
We want to divide 165793 by 21.

Step 1:
When dividing 1 by 21, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 21

Moving on to step 2:
21 can be fit into 16 0 times, resulting in a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 21

Let's proceed to step 3:
If we divide 165 by 21, we get 7 and a remainder of 18.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 147 from 165 to get 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 21

Let's proceed to step 4:
21 can be fit into 187 8 times, resulting in a remainder of 19.
Put 8 as the next digit of the answer. 
Result so far: 78.0
Deduct 168 from 187 and we're left with 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 21

Advancing to step 5:
21 goes into 199 9 times with a remainder of 10.
Put 9 as the next digit of the answer. 
Result so far: 789.0
Deduct 189 from 199 and we're left with 10.
Bring next digit (3) of the dividend behind the 10 and repeat the process: 103 / 21

Moving on to step 6:
21 goes into 103 4 times with a remainder of 19.
The number 4 becomes the next digit in our result. 
Result so far: 7894.0
Deduct 84 from 103 and we're left 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.

Let's proceed to step 7:
When dividing 190 by 21, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 7894.9
If we take 189 away from 190, we end up 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.

Moving on to step 8:
10 divided by 21 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 7894.9
If we subtract 0 from 10, we 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.

Step 9:
21 can be fit into 100 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 7894.904
If we take 84 away from 100, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
If we divide 160 by 21, we get 7 and a remainder of 13.
The next digit of our result is 7. 
Result so far: 7894.9047
Subtracting 147 from 160 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 11:
21 goes into 130 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 7894.90476
The remainder is 4 after subtracting 126 from 130.
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 12:
21 can be fit into 40 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 7894.904761
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 13:
The number 21 fits into 190 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 7894.9047619
If we take 189 away from 190, we end up 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 14:
When dividing 10 by 21, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 7894.9047619
Deduct 0 from 10 and we're left 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.

Our division results in 7894.9047619 with a remaining 1e-08.