24731 ÷ 2 = 12365 R1
Let's divide 24731 by 2.

Step 1:
2 goes into 2 1 times with a remainder of 0.
Write down 1 as next digit of of the result. 
Result so far: 1
Subtract 2 from 2 to get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 2

Step 2:
2 goes into 4 2 times with a remainder of 0.
Write down 2 as next digit of of the result. 
Result so far: 12
Subtract 4 from 4 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 2

Step 3:
2 goes into 7 3 times with a remainder of 1.
Write down 3 as next digit of of the result. 
Result so far: 123
Subtract 6 from 7 to get 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 2

Step 4:
2 goes into 13 6 times with a remainder of 1.
Write down 6 as next digit of of the result. 
Result so far: 1236
Subtract 12 from 13 to get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 2

Step 5:
2 goes into 11 5 times with a remainder of 1.
Write down 5 as next digit of of the result. 
Result so far: 12365
Subtract 10 from 11 to get 1.

The final result is 12365 with a remainder of 1.