We're dividing 5141781 by 271 
We're looking to find how many times 271 goes into 5141781.

Step 1:
271 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 271

Moving on to step 2:
271 goes into 51 0 times with a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Grab the next digit (4) from the dividend, add it to 51, then carry on: 514 / 271

Going ahead to step 3:
514 divided by 271 is 1 with a remainder of 243.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 271 away from 514, we end up with 243.
Bring next digit (1) of the dividend behind the 243 and repeat the process: 2431 / 271

Step 4:
When dividing 2431 by 271, we get 8 with a remainder of 263.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtract 2168 from 2431 to get 263.
Grab the next digit (7) from the dividend, add it to 263, then carry on: 2637 / 271

Advancing to step 5:
When dividing 2637 by 271, we get 9 with a remainder of 198.
The next digit of our result is 9. 
Result so far: 189.0
Subtract 2439 from 2637 to get 198.
Grab the next digit (8) from the dividend, add it to 198, then carry on: 1988 / 271

On to step 6:
1988 divided by 271 is 7 with a remainder of 91.
Use 7 as the next digit of our solution. 
Result so far: 1897.0
The remainder is 91 after subtracting 1897 from 1988.
Take the next digit (1) from the dividend and append it to 91, then repeat: 911 / 271

Step 7:
271 can be fit into 911 3 times, resulting in a remainder of 98.
The next digit of our result is 3. 
Result so far: 18973.0
If we subtract 813 from 911, we get 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Step 8:
The number 271 fits into 980 3 times, leaving a remainder of 167.
The next digit of our result is 3. 
Result so far: 18973.3
Subtract 813 from 980 to get 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Moving on to step 9:
If we divide 1670 by 271, we get 6 and a remainder of 44.
Record the quotient 6 as the next digit in the result. 
Result so far: 18973.36
Subtracting 1626 from 1670 leaves us 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 10:
271 goes into 440 1 times with a remainder of 169.
Put 1 as the next digit of the answer. 
Result so far: 18973.361
If we subtract 271 from 440, we get 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Advancing to step 11:
When dividing 1690 by 271, we get 6 with a remainder of 64.
Write down 6 as next digit of the result. 
Result so far: 18973.3616
If we subtract 1626 from 1690, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 12:
When dividing 640 by 271, we get 2 with a remainder of 98.
The next digit of our result is 2. 
Result so far: 18973.36162
Deduct 542 from 640 and we're left with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Moving on to step 13:
271 goes into 980 3 times with a remainder of 167.
Use 3 as the next digit of our solution. 
Result so far: 18973.361623
Deduct 813 from 980 and we're left with 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Going ahead to step 14:
The number 271 fits into 1670 6 times, leaving a remainder of 44.
Write down 6 as next digit of the result. 
Result so far: 18973.3616236
Subtracting 1626 from 1670 leaves us 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.

Let's proceed to step 15:
271 goes into 440 1 times with a remainder of 169.
Use 1 as the next digit of our solution. 
Result so far: 18973.36162361
Deduct 271 from 440 and we're left with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

In conclusion, the division gives 18973.36162361 with a balance of 1.69e-07.