We look at the division of 798654 by 77 
Our goal is to divide 798654 by 77.

On to step 1:
When dividing 7 by 77, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 77

On to step 2:
79 divided by 77 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 77 away from 79, we end up with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 77

Advancing to step 3:
77 can be fit into 28 0 times, resulting in a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtracting 0 from 28 leaves us with 28.
Take the next digit (6) from the dividend and append it to 28, then repeat: 286 / 77

On to step 4:
77 can be fit into 286 3 times, resulting in a remainder of 55.
The next digit of our result is 3. 
Result so far: 103.0
Subtracting 231 from 286 leaves us with 55.
Take the next digit (5) from the dividend and append it to 55, then repeat: 555 / 77

Advancing to step 5:
When dividing 555 by 77, we get 7 with a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 1037.0
Subtract 539 from 555 to get 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 77

Going ahead to step 6:
When dividing 164 by 77, we get 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 10372.0
If we take 154 away from 164, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 7:
77 can be fit into 100 1 times, resulting in a remainder of 23.
The next digit of our result is 1. 
Result so far: 10372.1
If we take 77 away from 100, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 8:
77 can be fit into 230 2 times, resulting in a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 10372.12
Deduct 154 from 230 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 9:
77 goes into 760 9 times with a remainder of 67.
The next digit of our result is 9. 
Result so far: 10372.129
Subtract 693 from 760 to get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Step 10:
77 goes into 670 8 times with a remainder of 54.
The next digit of our result is 8. 
Result so far: 10372.1298
If we take 616 away from 670, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 11:
When dividing 540 by 77, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 10372.12987
Deduct 539 from 540 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
77 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 10372.12987
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 13:
If we divide 100 by 77, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 10372.1298701
Deduct 77 from 100 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 14:
77 can be fit into 230 2 times, resulting in a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 10372.12987012
If we subtract 154 from 230, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The quotient of the division is 10372.12987012, and the remainder is 7.6e-08.