We're dividing 786589 by 77 
We're looking to find how many times 77 goes into 786589.

Step 1:
77 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 77

Moving on to step 2:
The number 77 fits into 78 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 77 from 78.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 77

Let's proceed to step 3:
The number 77 fits into 16 0 times, leaving a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtract 0 from 16 to get 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 77

On to step 4:
77 can be fit into 165 2 times, resulting in a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 102.0
Subtract 154 from 165 to get 11.
Append the next digit (8) from the dividend to 11 and continue with: 118 / 77

Advancing to step 5:
The number 77 fits into 118 1 times, leaving a remainder of 41.
The number 1 becomes the next digit in our result. 
Result so far: 1021.0
Deduct 77 from 118 and we're left with 41.
Bring next digit (9) of the dividend behind the 41 and repeat the process: 419 / 77

Advancing to step 6:
77 can be fit into 419 5 times, resulting in a remainder of 34.
The number 5 becomes the next digit in our result. 
Result so far: 10215.0
The remainder is 34 after subtracting 385 from 419.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
340 divided by 77 is 4 with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 10215.4
If we subtract 308 from 340, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 8:
The number 77 fits into 320 4 times, leaving a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 10215.44
Subtract 308 from 320 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 10215.44, and the remainder is 0.012.