51358 ÷ 2 = 25679 R0
We're going to perform division on 51358 with 2 as the divisor.

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

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

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

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

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

The final result is 25679 with a remainder of 0.