We divide 985842 by 77
We want to divide 985842 by 77.

Advancing to step 1:
The number 77 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 77

Advancing to step 2:
77 goes into 98 1 times with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 77 from 98 to get 21.
Fetch the next digit (5) from the dividend, attach it to 21 and continue: 215 / 77

Let's proceed to step 3:
77 can be fit into 215 2 times, resulting in a remainder of 61.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 154 from 215 leaves us with 61.
Grab the next digit (8) from the dividend, add it to 61, then carry on: 618 / 77

Let's proceed to step 4:
If we divide 618 by 77, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 128.0
If we take 616 away from 618, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 77

On to step 5:
77 can be fit into 24 0 times, resulting in a remainder of 24.
The next digit of our result is 0. 
Result so far: 1280.0
If we subtract 0 from 24, we get 24.
Fetch the next digit (2) from the dividend, attach it to 24 and continue: 242 / 77

Moving on to step 6:
77 goes into 242 3 times with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 12803.0
Deduct 231 from 242 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
When dividing 110 by 77, we get 1 with a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 12803.1
If we take 77 away from 110, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 8:
If we divide 330 by 77, we get 4 and a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 12803.14
If we take 308 away from 330, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 9:
77 can be fit into 220 2 times, resulting in a remainder of 66.
Use 2 as the next digit of our solution. 
Result so far: 12803.142
Subtract 154 from 220 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 10:
If we divide 660 by 77, we get 8 and a remainder of 44.
The next digit of our result is 8. 
Result so far: 12803.1428
If we subtract 616 from 660, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 11:
77 can be fit into 440 5 times, resulting in a remainder of 55.
The number 5 becomes the next digit in our result. 
Result so far: 12803.14285
Subtract 385 from 440 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Moving on to step 12:
When dividing 550 by 77, we get 7 with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 12803.142857
The remainder is 11 after subtracting 539 from 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 13:
77 can be fit into 110 1 times, resulting in a remainder of 33.
Use 1 as the next digit of our solution. 
Result so far: 12803.1428571
Subtract 77 from 110 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 14:
77 can be fit into 330 4 times, resulting in a remainder of 22.
The next digit of our result is 4. 
Result so far: 12803.14285714
Subtracting 308 from 330 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 12803.14285714 with a remaining 2.2e-08.