311771 ÷ 54 
We want to divide 311771 by 54.

Step 1:
54 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 subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 54

Going ahead to step 2:
When dividing 31 by 54, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 54

Going ahead to step 3:
54 goes into 311 5 times with a remainder of 41.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 270 away from 311, we end up with 41.
Bring next digit (7) of the dividend behind the 41 and repeat the process: 417 / 54

On to step 4:
417 divided by 54 is 7 with a remainder of 39.
The next digit of our result is 7. 
Result so far: 57.0
Deduct 378 from 417 and we're left with 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 54

Going ahead to step 5:
397 divided by 54 is 7 with a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 577.0
If we subtract 378 from 397, we get 19.
Fetch the next digit (1) from the dividend, attach it to 19 and continue: 191 / 54

Step 6:
54 can be fit into 191 3 times, resulting in a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 5773.0
If we subtract 162 from 191, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 7:
54 can be fit into 290 5 times, resulting in a remainder of 20.
The next digit of our result is 5. 
Result so far: 5773.5
Subtract 270 from 290 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
The number 54 fits into 200 3 times, leaving a remainder of 38.
The number 3 becomes the next digit in our result. 
Result so far: 5773.53
The remainder is 38 after subtracting 162 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 9:
When dividing 380 by 54, we get 7 with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 5773.537
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
54 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 5773.537
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
54 can be fit into 200 3 times, resulting in a remainder of 38.
The number 3 becomes the next digit in our result. 
Result so far: 5773.53703
Subtract 162 from 200 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 12:
54 goes into 380 7 times with a remainder of 2.
The next digit of our result is 7. 
Result so far: 5773.537037
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 13:
The number 54 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 5773.537037
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 14:
54 goes into 200 3 times with a remainder of 38.
The number 3 becomes the next digit in our result. 
Result so far: 5773.53703703
Subtracting 162 from 200 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

In conclusion, the division gives 5773.53703703 with a balance of 3.8e-08.