We're dividing 399638 by 24 
We're looking to find how many times 24 goes into 399638.

Going ahead to step 1:
When dividing 3 by 24, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 24

Advancing to step 2:
24 can be fit into 39 1 times, resulting in a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 24 from 39 and we're left with 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 24

Moving on to step 3:
24 can be fit into 159 6 times, resulting in a remainder of 15.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtracting 144 from 159 leaves us with 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 24

Step 4:
24 goes into 156 6 times with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 166.0
If we take 144 away from 156, we end up with 12.
Append the next digit (3) from the dividend to 12 and continue with: 123 / 24

Going ahead to step 5:
When dividing 123 by 24, we get 5 with a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 1665.0
Subtracting 120 from 123 leaves us with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 24

Moving on to step 6:
The number 24 fits into 38 1 times, leaving a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 16651.0
Subtracting 24 from 38 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
If we divide 140 by 24, we get 5 and a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 16651.5
The remainder is 20 after subtracting 120 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
The number 24 fits into 200 8 times, leaving a remainder of 8.
The next digit of our result is 8. 
Result so far: 16651.58
If we take 192 away from 200, 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:
When dividing 80 by 24, we get 3 with a remainder of 8.
The next digit of our result is 3. 
Result so far: 16651.583
Subtracting 72 from 80 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.

Going ahead to step 10:
The number 24 fits into 80 3 times, leaving a remainder of 8.
The next digit of our result is 3. 
Result so far: 16651.5833
Deduct 72 from 80 and we're left 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 quotient of the division is 16651.5833, and the remainder is 8e-05.