Let's divide 502577 by 24
We want to figure out the number of times 502577 can be divided by 24.

On to step 1:
When dividing 5 by 24, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 24

On to step 2:
If we divide 50 by 24, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 48 from 50 to get 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 24

Step 3:
24 goes into 22 0 times with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Subtracting 0 from 22 leaves us with 22.
Append the next digit (5) from the dividend to 22 and continue with: 225 / 24

Let's proceed to step 4:
225 divided by 24 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 209.0
The remainder is 9 after subtracting 216 from 225.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 24

Going ahead to step 5:
24 can be fit into 97 4 times, resulting in a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 2094.0
Subtract 96 from 97 to get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 24

Advancing to step 6:
When dividing 17 by 24, we get 0 with a remainder of 17.
The next digit of our result is 0. 
Result so far: 20940.0
Deduct 0 from 17 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 7:
The number 24 fits into 170 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 20940.7
Deduct 168 from 170 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
If we divide 20 by 24, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 20940.7
If we subtract 0 from 20, we get 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 9:
The number 24 fits into 200 8 times, leaving a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 20940.708
Subtract 192 from 200 to 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.

Step 10:
When dividing 80 by 24, we get 3 with a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 20940.7083
Subtracting 72 from 80 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.

On to step 11:
When dividing 80 by 24, we get 3 with a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 20940.70833
Subtracting 72 from 80 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.

The quotient of the division is 20940.70833, and the remainder is 8e-06.