64807 ÷ 5 = 12961 R2
We're going to perform division on 64807 with 5 as the divisor.

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

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

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

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

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

The final result is 12961 with a remainder of 2.