49864 ÷ 9 = 5540 R4
We're going to perform division on 49864 with 9 as the divisor.

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

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

Step 3:
9 goes into 48 5 times with a remainder of 3.
Write down 5 as next digit of of the result. 
Result so far: 55
Subtract 45 from 48 to get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 9

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

Step 5:
9 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of of the result. 
Result so far: 5540
Subtract 0 from 4 to get 4.

The final result is 5540 with a remainder of 4.