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

On to step 1:
3 divided by 77 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 77

Advancing to step 2:
77 goes into 31 0 times with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 77

Going ahead to step 3:
311 divided by 77 is 4 with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 308 from 311 and we're left with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 77

On to step 4:
37 divided by 77 is 0 with a remainder of 37.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtract 0 from 37 to get 37.
Take the next digit (4) from the dividend and append it to 37, then repeat: 374 / 77

Moving on to step 5:
374 divided by 77 is 4 with a remainder of 66.
Record the quotient 4 as the next digit in the result. 
Result so far: 404.0
If we subtract 308 from 374, we 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.

Advancing to step 6:
77 can be fit into 660 8 times, resulting in a remainder of 44.
Use 8 as the next digit of our solution. 
Result so far: 404.8
Subtract 616 from 660 to 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.

Let's proceed to step 7:
The number 77 fits into 440 5 times, leaving a remainder of 55.
The number 5 becomes the next digit in our result. 
Result so far: 404.85
The remainder is 55 after subtracting 385 from 440.
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 8:
The number 77 fits into 550 7 times, leaving a remainder of 11.
The next digit of our result is 7. 
Result so far: 404.857
If we subtract 539 from 550, we get 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 9:
110 divided by 77 is 1 with a remainder of 33.
The next digit of our result is 1. 
Result so far: 404.8571
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 10:
The number 77 fits into 330 4 times, leaving a remainder of 22.
The next digit of our result is 4. 
Result so far: 404.85714
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.

Going ahead to step 11:
When dividing 220 by 77, we get 2 with a remainder of 66.
Use 2 as the next digit of our solution. 
Result so far: 404.857142
Subtracting 154 from 220 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 12:
660 divided by 77 is 8 with a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 404.8571428
If we take 616 away from 660, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 13:
The number 77 fits into 440 5 times, leaving a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 404.85714285
The remainder is 55 after subtracting 385 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

In conclusion, the division gives 404.85714285 with a balance of 5.5e-08.