45862 ÷ 9 = 5095 R7
We're going to perform division on 45862 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 (5) of the dividend behind the 4 and repeat the process: 45 / 9

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

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

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

Step 5:
9 goes into 52 5 times with a remainder of 7.
Write down 5 as next digit of of the result. 
Result so far: 5095
Subtract 45 from 52 to get 7.

The final result is 5095 with a remainder of 7.