40679 ÷ 2 = 20339 R1
No problem, we've got 40679 and 2 for the division.

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

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

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

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

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

The final result is 20339 with a remainder of 1.