31771 ÷ 77 
Let's see how many times 77 fits into 31771.

Going ahead to step 1:
77 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 77

Let's proceed to step 2:
31 divided by 77 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 77

Going ahead to step 3:
The number 77 fits into 317 4 times, leaving a remainder of 9.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 308 from 317 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 77

Moving on to step 4:
The number 77 fits into 97 1 times, leaving a remainder of 20.
The next digit of our result is 1. 
Result so far: 41.0
If we take 77 away from 97, we end up with 20.
Bring next digit (1) of the dividend behind the 20 and repeat the process: 201 / 77

Advancing to step 5:
If we divide 201 by 77, we get 2 and a remainder of 47.
Put 2 as the next digit of the answer. 
Result so far: 412.0
Deduct 154 from 201 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Moving on to step 6:
470 divided by 77 is 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 412.6
Subtract 462 from 470 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
77 goes into 80 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 412.61
Subtracting 77 from 80 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
If we divide 30 by 77, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 412.61
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
When dividing 300 by 77, we get 3 with a remainder of 69.
Record the quotient 3 as the next digit in the result. 
Result so far: 412.6103
Deduct 231 from 300 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Moving on to step 10:
If we divide 690 by 77, we get 8 and a remainder of 74.
The next digit of our result is 8. 
Result so far: 412.61038
Deduct 616 from 690 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Step 11:
77 goes into 740 9 times with a remainder of 47.
Put 9 as the next digit of the answer. 
Result so far: 412.610389
If we subtract 693 from 740, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Let's proceed to step 12:
If we divide 470 by 77, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 412.6103896
Deduct 462 from 470 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 13:
80 divided by 77 is 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 412.61038961
If we subtract 77 from 80, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final result is 412.61038961 with a remainder of 3e-09.