Let's divide 391031 by 77
Our goal is to divide 391031 by 77.

Let's proceed to step 1:
When dividing 3 by 77, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 77

Moving on to step 2:
When dividing 39 by 77, we get 0 with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Append the next digit (1) from the dividend to 39 and continue with: 391 / 77

Step 3:
When dividing 391 by 77, we get 5 with a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 385 from 391 and we're left with 6.
Grab the next digit (0) from the dividend, add it to 6, then carry on: 60 / 77

Going ahead to step 4:
77 goes into 60 0 times with a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Deduct 0 from 60 and we're left with 60.
Bring next digit (3) of the dividend behind the 60 and repeat the process: 603 / 77

Advancing to step 5:
77 goes into 603 7 times with a remainder of 64.
Write down 7 as next digit of the result. 
Result so far: 507.0
Subtract 539 from 603 to get 64.
Take the next digit (1) from the dividend and append it to 64, then repeat: 641 / 77

Let's proceed to step 6:
The number 77 fits into 641 8 times, leaving a remainder of 25.
Use 8 as the next digit of our solution. 
Result so far: 5078.0
The remainder is 25 after subtracting 616 from 641.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
When dividing 250 by 77, we get 3 with a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 5078.3
If we subtract 231 from 250, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 8:
77 goes into 190 2 times with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 5078.32
If we take 154 away from 190, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 9:
The number 77 fits into 360 4 times, leaving a remainder of 52.
Use 4 as the next digit of our solution. 
Result so far: 5078.324
Deduct 308 from 360 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 10:
The number 77 fits into 520 6 times, leaving a remainder of 58.
The number 6 becomes the next digit in our result. 
Result so far: 5078.3246
The remainder is 58 after subtracting 462 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Going ahead to step 11:
77 goes into 580 7 times with a remainder of 41.
Put 7 as the next digit of the answer. 
Result so far: 5078.32467
Subtract 539 from 580 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 12:
When dividing 410 by 77, we get 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 5078.324675
The remainder is 25 after subtracting 385 from 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 13:
When dividing 250 by 77, we get 3 with a remainder of 19.
The next digit of our result is 3. 
Result so far: 5078.3246753
If we take 231 away from 250, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 14:
190 divided by 77 is 2 with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 5078.32467532
If we take 154 away from 190, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

In conclusion, the division gives 5078.32467532 with a balance of 3.6e-08.