877891 ÷ 24 
We want to figure out the number of times 877891 can be divided by 24.

Step 1:
8 divided by 24 is 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 24

Step 2:
When dividing 87 by 24, we get 3 with a remainder of 15.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 72 from 87, we get 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 24

Step 3:
When dividing 157 by 24, we get 6 with a remainder of 13.
Put 6 as the next digit of the answer. 
Result so far: 36.0
If we take 144 away from 157, we end up with 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 24

Moving on to step 4:
The number 24 fits into 138 5 times, leaving a remainder of 18.
The next digit of our result is 5. 
Result so far: 365.0
The remainder is 18 after subtracting 120 from 138.
Fetch the next digit (9) from the dividend, attach it to 18 and continue: 189 / 24

Going ahead to step 5:
24 goes into 189 7 times with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 3657.0
Deduct 168 from 189 and we're left with 21.
Grab the next digit (1) from the dividend, add it to 21, then carry on: 211 / 24

Let's proceed to step 6:
The number 24 fits into 211 8 times, leaving a remainder of 19.
Put 8 as the next digit of the answer. 
Result so far: 36578.0
The remainder is 19 after subtracting 192 from 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
If we divide 190 by 24, we get 7 and a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 36578.7
If we subtract 168 from 190, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
If we divide 220 by 24, we get 9 and a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 36578.79
Deduct 216 from 220 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
If we divide 40 by 24, we get 1 and a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 36578.791
Subtracting 24 from 40 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 10:
160 divided by 24 is 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 36578.7916
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 11:
When dividing 160 by 24, we get 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 36578.79166
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 36578.79166 with a remainder of 1.6e-05.