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

Moving on to step 1:
The number 24 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 24

Step 2:
24 goes into 51 2 times with a remainder of 3.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 48 from 51 and we're left with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 24

On to step 3:
When dividing 39 by 24, we get 1 with a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
The remainder is 15 after subtracting 24 from 39.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 24

Let's proceed to step 4:
The number 24 fits into 158 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 216.0
If we subtract 144 from 158, we get 14.
Bring next digit (9) of the dividend behind the 14 and repeat the process: 149 / 24

Moving on to step 5:
If we divide 149 by 24, we get 6 and a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 2166.0
Deduct 144 from 149 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 6:
The number 24 fits into 50 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 2166.2
If we subtract 48 from 50, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
24 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 2166.2
If we take 0 away from 20, we end up 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.

Let's proceed to step 8:
When dividing 200 by 24, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 2166.208
If we subtract 192 from 200, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
If we divide 80 by 24, we get 3 and a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 2166.2083
If we subtract 72 from 80, we get 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:
24 goes into 80 3 times with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 2166.20833
If we subtract 72 from 80, we get 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 final result is 2166.20833 with a remainder of 8e-06.