Let's divide 5138134 by 171
We're looking to find how many times 171 goes into 5138134.

Moving on to step 1:
If we divide 5 by 171, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 171

Let's proceed to step 2:
If we divide 51 by 171, we get 0 and a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Append the next digit (3) from the dividend to 51 and continue with: 513 / 171

Advancing to step 3:
513 divided by 171 is 3 with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 513 from 513, we get 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 171

Step 4:
171 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
If we take 0 away from 8, we end up with 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 171

Advancing to step 5:
81 divided by 171 is 0 with a remainder of 81.
Record the quotient 0 as the next digit in the result. 
Result so far: 300.0
If we subtract 0 from 81, we get 81.
Append the next digit (3) from the dividend to 81 and continue with: 813 / 171

On to step 6:
The number 171 fits into 813 4 times, leaving a remainder of 129.
Use 4 as the next digit of our solution. 
Result so far: 3004.0
Deduct 684 from 813 and we're left with 129.
Include the next digit (4) from the dividend after 129, then repeat: 1294 / 171

Advancing to step 7:
If we divide 1294 by 171, we get 7 and a remainder of 97.
Put 7 as the next digit of the answer. 
Result so far: 30047.0
If we subtract 1197 from 1294, we get 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Going ahead to step 8:
The number 171 fits into 970 5 times, leaving a remainder of 115.
The next digit of our result is 5. 
Result so far: 30047.5
Subtract 855 from 970 to get 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Step 9:
The number 171 fits into 1150 6 times, leaving a remainder of 124.
Use 6 as the next digit of our solution. 
Result so far: 30047.56
Subtracting 1026 from 1150 leaves us with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Moving on to step 10:
The number 171 fits into 1240 7 times, leaving a remainder of 43.
Record the quotient 7 as the next digit in the result. 
Result so far: 30047.567
Subtract 1197 from 1240 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Let's proceed to step 11:
430 divided by 171 is 2 with a remainder of 88.
Write down 2 as next digit of the result. 
Result so far: 30047.5672
The remainder is 88 after subtracting 342 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Moving on to step 12:
When dividing 880 by 171, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 30047.56725
If we take 855 away from 880, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
250 divided by 171 is 1 with a remainder of 79.
Put 1 as the next digit of the answer. 
Result so far: 30047.567251
If we subtract 171 from 250, we get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Moving on to step 14:
When dividing 790 by 171, we get 4 with a remainder of 106.
Record the quotient 4 as the next digit in the result. 
Result so far: 30047.5672514
If we subtract 684 from 790, we get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Moving on to step 15:
If we divide 1060 by 171, we get 6 and a remainder of 34.
Record the quotient 6 as the next digit in the result. 
Result so far: 30047.56725146
Deduct 1026 from 1060 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The quotient of the division is 30047.56725146, and the remainder is 3.4e-08.