We divide 386997 by 24
Let's see how many times 24 fits into 386997.

Moving on to step 1:
24 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 24

On to step 2:
24 goes into 38 1 times with a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 24 from 38 and we're left with 14.
Include the next digit (6) from the dividend after 14, then repeat: 146 / 24

Step 3:
24 can be fit into 146 6 times, resulting in a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we take 144 away from 146, we end up with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 24

Moving on to step 4:
29 divided by 24 is 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 161.0
If we subtract 24 from 29, we get 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 24

Let's proceed to step 5:
If we divide 59 by 24, we get 2 and a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 1612.0
If we subtract 48 from 59, we get 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 24

Going ahead to step 6:
24 goes into 117 4 times with a remainder of 21.
Record the quotient 4 as the next digit in the result. 
Result so far: 16124.0
Subtract 96 from 117 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 7:
When dividing 210 by 24, we get 8 with a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 16124.8
If we take 192 away from 210, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 8:
24 goes into 180 7 times with a remainder of 12.
Record the quotient 7 as the next digit in the result. 
Result so far: 16124.87
Subtract 168 from 180 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
The number 24 fits into 120 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 16124.875
If we subtract 120 from 120, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
24 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16124.875
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 11:
If we divide 0 by 24, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16124.875
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 16124.875 and a remainder of 0.0.