We're dividing 257771 by 54 
We want to divide 257771 by 54.

Going ahead to step 1:
The number 54 fits into 2 0 times, leaving a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 54

Let's proceed to step 2:
25 divided by 54 is 0 with a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 25 leaves us with 25.
Bring next digit (7) of the dividend behind the 25 and repeat the process: 257 / 54

On to step 3:
257 divided by 54 is 4 with a remainder of 41.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 41 after subtracting 216 from 257.
Include the next digit (7) from the dividend after 41, then repeat: 417 / 54

Let's proceed to step 4:
When dividing 417 by 54, we get 7 with a remainder of 39.
Put 7 as the next digit of the answer. 
Result so far: 47.0
Deduct 378 from 417 and we're left with 39.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 54

Let's proceed to step 5:
54 goes into 397 7 times with a remainder of 19.
The number 7 becomes the next digit in our result. 
Result so far: 477.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

Advancing to step 6:
54 goes into 191 3 times with a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 4773.0
If we take 162 away from 191, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 7:
290 divided by 54 is 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 4773.5
Subtracting 270 from 290 leaves us 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.

Advancing to step 8:
If we divide 200 by 54, we get 3 and a remainder of 38.
The next digit of our result is 3. 
Result so far: 4773.53
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.

Step 9:
54 goes into 380 7 times with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 4773.537
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 10:
If we divide 20 by 54, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 4773.537
Subtracting 0 from 20 leaves us 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.

Let's proceed to step 11:
If we divide 200 by 54, we get 3 and a remainder of 38.
The next digit of our result is 3. 
Result so far: 4773.53703
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.

On to step 12:
The number 54 fits into 380 7 times, leaving a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 4773.537037
Subtract 378 from 380 to 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.

Moving on to step 13:
The number 54 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 4773.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.

Going ahead to step 14:
When dividing 200 by 54, we get 3 with a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 4773.53703703
If we take 162 away from 200, we end up 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.

The final outcome is 4773.53703703, with a leftover of 3.8e-08.