We're dividing 397050 by 24 
Our goal is to divide 397050 by 24.

Step 1:
When dividing 3 by 24, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 24

Step 2:
24 goes into 39 1 times with a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 24 from 39, we get 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 24

Step 3:
157 divided by 24 is 6 with a remainder of 13.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Deduct 144 from 157 and we're left with 13.
Fetch the next digit (0) from the dividend, attach it to 13 and continue: 130 / 24

Moving on to step 4:
When dividing 130 by 24, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 165.0
Subtracting 120 from 130 leaves us with 10.
Append the next digit (5) from the dividend to 10 and continue with: 105 / 24

Going ahead to step 5:
105 divided by 24 is 4 with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 1654.0
If we take 96 away from 105, we end up with 9.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 24

Going ahead to step 6:
When dividing 90 by 24, we get 3 with a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 16543.0
Deduct 72 from 90 and we're left 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.

Moving on to step 7:
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: 16543.7
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
120 divided by 24 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 16543.75
The remainder is 0 after subtracting 120 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
0 divided by 24 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16543.75
Subtracting 0 from 0 leaves us 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.

Moving on to step 10:
0 divided by 24 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 16543.75
If we subtract 0 from 0, 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.

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