We divide 518117 by 21
Let's see how many times 21 fits into 518117.

Advancing to step 1:
The number 21 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 21

Going ahead to step 2:
The number 21 fits into 51 2 times, leaving a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 9 after subtracting 42 from 51.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 21

Advancing to step 3:
When dividing 98 by 21, we get 4 with a remainder of 14.
The next digit of our result is 4. 
Result so far: 24.0
If we subtract 84 from 98, we get 14.
Grab the next digit (1) from the dividend, add it to 14, then carry on: 141 / 21

Moving on to step 4:
The number 21 fits into 141 6 times, leaving a remainder of 15.
The next digit of our result is 6. 
Result so far: 246.0
Deduct 126 from 141 and we're left with 15.
Append the next digit (1) from the dividend to 15 and continue with: 151 / 21

Step 5:
21 can be fit into 151 7 times, resulting in a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 2467.0
If we take 147 away from 151, we end up with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 21

Moving on to step 6:
21 can be fit into 47 2 times, resulting in a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 24672.0
Deduct 42 from 47 and we're left 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.

Step 7:
If we divide 50 by 21, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 24672.2
Subtracting 42 from 50 leaves us 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.

Let's proceed to step 8:
The number 21 fits into 80 3 times, leaving a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 24672.23
Subtracting 63 from 80 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 9:
21 goes into 170 8 times with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 24672.238
The remainder is 2 after subtracting 168 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
If we divide 20 by 21, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 24672.238
If we subtract 0 from 20, we get 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 11:
The number 21 fits into 200 9 times, leaving a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 24672.23809
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.

Let's proceed to step 12:
The number 21 fits into 110 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 24672.238095
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.

Let's proceed to step 13:
The number 21 fits into 50 2 times, leaving a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 24672.2380952
Subtracting 42 from 50 leaves us 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 14:
The number 21 fits into 80 3 times, leaving a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 24672.23809523
If we take 63 away from 80, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Our division results in 24672.23809523 with a remaining 1.7e-08.