Let's divide 977966 by 24
Our goal is to divide 977966 by 24.

Going ahead to step 1:
24 can be fit into 9 0 times, resulting in a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 24

Moving on to step 2:
When dividing 97 by 24, we get 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 96 from 97 leaves us with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 24

Moving on to step 3:
If we divide 17 by 24, we get 0 and a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 40.0
Subtract 0 from 17 to get 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 24

On to step 4:
24 goes into 179 7 times with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 407.0
If we subtract 168 from 179, we get 11.
Grab the next digit (6) from the dividend, add it to 11, then carry on: 116 / 24

Going ahead to step 5:
If we divide 116 by 24, we get 4 and a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 4074.0
Deduct 96 from 116 and we're left with 20.
Include the next digit (6) from the dividend after 20, then repeat: 206 / 24

Advancing to step 6:
If we divide 206 by 24, we get 8 and a remainder of 14.
The next digit of our result is 8. 
Result so far: 40748.0
If we take 192 away from 206, we end up 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.

Let's proceed to step 7:
24 can be fit into 140 5 times, resulting in a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 40748.5
Deduct 120 from 140 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
When dividing 200 by 24, we get 8 with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 40748.58
Subtracting 192 from 200 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 9:
When dividing 80 by 24, we get 3 with a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 40748.583
The remainder is 8 after subtracting 72 from 80.
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:
24 goes into 80 3 times with a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 40748.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 40748.5833, and the remainder is 8e-05.