We divide 107164 by 21
We're looking to find how many times 21 goes into 107164.

Step 1:
21 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 21

Moving on to step 2:
10 divided by 21 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 10 and we're left with 10.
Bring next digit (7) of the dividend behind the 10 and repeat the process: 107 / 21

Step 3:
21 can be fit into 107 5 times, resulting in a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 105 from 107 leaves us with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 21

On to step 4:
21 divided by 21 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 51.0
The remainder is 0 after subtracting 21 from 21.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 21

Let's proceed to step 5:
21 goes into 6 0 times with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 510.0
Subtract 0 from 6 to get 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 21

Moving on to step 6:
The number 21 fits into 64 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 5103.0
Subtract 63 from 64 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
21 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5103.0
The remainder is 10 after subtracting 0 from 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 8:
21 can be fit into 100 4 times, resulting in a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 5103.04
Subtracting 84 from 100 leaves us 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.

Going ahead to step 9:
21 goes into 160 7 times with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 5103.047
The remainder is 13 after subtracting 147 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 10:
21 can be fit into 130 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 5103.0476
Subtracting 126 from 130 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
21 can be fit into 40 1 times, resulting in a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 5103.04761
The remainder is 19 after subtracting 21 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 12:
The number 21 fits into 190 9 times, leaving a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 5103.047619
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.

Going ahead to step 13:
The number 21 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 5103.047619
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.

Step 14:
21 goes into 100 4 times with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 5103.04761904
The remainder is 16 after subtracting 84 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 5103.04761904, with a leftover of 1.6e-08.