We look at the division of 5003162 by 347 
We're looking to find how many times 347 goes into 5003162.

Advancing to step 1:
347 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 347

Going ahead to step 2:
347 can be fit into 50 0 times, resulting in a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Grab the next digit (0) from the dividend, add it to 50, then carry on: 500 / 347

Step 3:
When dividing 500 by 347, we get 1 with a remainder of 153.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 347 from 500 and we're left with 153.
Fetch the next digit (3) from the dividend, attach it to 153 and continue: 1533 / 347

Going ahead to step 4:
The number 347 fits into 1533 4 times, leaving a remainder of 145.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtract 1388 from 1533 to get 145.
Fetch the next digit (1) from the dividend, attach it to 145 and continue: 1451 / 347

Going ahead to step 5:
When dividing 1451 by 347, we get 4 with a remainder of 63.
Use 4 as the next digit of our solution. 
Result so far: 144.0
Subtracting 1388 from 1451 leaves us with 63.
Bring next digit (6) of the dividend behind the 63 and repeat the process: 636 / 347

Moving on to step 6:
636 divided by 347 is 1 with a remainder of 289.
Use 1 as the next digit of our solution. 
Result so far: 1441.0
If we take 347 away from 636, we end up with 289.
Append the next digit (2) from the dividend to 289 and continue with: 2892 / 347

Moving on to step 7:
2892 divided by 347 is 8 with a remainder of 116.
Put 8 as the next digit of the answer. 
Result so far: 14418.0
The remainder is 116 after subtracting 2776 from 2892.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Advancing to step 8:
If we divide 1160 by 347, we get 3 and a remainder of 119.
The next digit of our result is 3. 
Result so far: 14418.3
If we take 1041 away from 1160, we end up with 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

Advancing to step 9:
The number 347 fits into 1190 3 times, leaving a remainder of 149.
Record the quotient 3 as the next digit in the result. 
Result so far: 14418.33
If we subtract 1041 from 1190, we get 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

After the division, we end up with 14418.33 and a remainder of 0.149.