77798 ÷ 6 = 12966 R2
No problem, we've got 77798 and 6 for the division.

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

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

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

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

Step 5:
6 goes into 38 6 times with a remainder of 2.
Write down 6 as next digit of of the result. 
Result so far: 12966
Subtract 36 from 38 to get 2.

The final result is 12966 with a remainder of 2.