We divide 5164143 by 162
We're looking to find how many times 162 goes into 5164143.

Let's proceed to step 1:
5 divided by 162 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 162

Let's proceed to step 2:
If we divide 51 by 162, we get 0 and a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Grab the next digit (6) from the dividend, add it to 51, then carry on: 516 / 162

Step 3:
162 goes into 516 3 times with a remainder of 30.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 486 away from 516, we end up with 30.
Grab the next digit (4) from the dividend, add it to 30, then carry on: 304 / 162

Moving on to step 4:
If we divide 304 by 162, we get 1 and a remainder of 142.
Use 1 as the next digit of our solution. 
Result so far: 31.0
The remainder is 142 after subtracting 162 from 304.
Take the next digit (1) from the dividend and append it to 142, then repeat: 1421 / 162

Moving on to step 5:
162 goes into 1421 8 times with a remainder of 125.
Write down 8 as next digit of the result. 
Result so far: 318.0
If we take 1296 away from 1421, we end up with 125.
Grab the next digit (4) from the dividend, add it to 125, then carry on: 1254 / 162

Step 6:
If we divide 1254 by 162, we get 7 and a remainder of 120.
The next digit of our result is 7. 
Result so far: 3187.0
Deduct 1134 from 1254 and we're left with 120.
Fetch the next digit (3) from the dividend, attach it to 120 and continue: 1203 / 162

Step 7:
If we divide 1203 by 162, we get 7 and a remainder of 69.
The next digit of our result is 7. 
Result so far: 31877.0
Subtracting 1134 from 1203 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Moving on to step 8:
When dividing 690 by 162, we get 4 with a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 31877.4
Subtract 648 from 690 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 9:
When dividing 420 by 162, we get 2 with a remainder of 96.
The next digit of our result is 2. 
Result so far: 31877.42
Subtracting 324 from 420 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 10:
The number 162 fits into 960 5 times, leaving a remainder of 150.
Record the quotient 5 as the next digit in the result. 
Result so far: 31877.425
Deduct 810 from 960 and we're left with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Advancing to step 11:
1500 divided by 162 is 9 with a remainder of 42.
Use 9 as the next digit of our solution. 
Result so far: 31877.4259
Subtracting 1458 from 1500 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 12:
420 divided by 162 is 2 with a remainder of 96.
Use 2 as the next digit of our solution. 
Result so far: 31877.42592
The remainder is 96 after subtracting 324 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 13:
960 divided by 162 is 5 with a remainder of 150.
The number 5 becomes the next digit in our result. 
Result so far: 31877.425925
The remainder is 150 after subtracting 810 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Moving on to step 14:
1500 divided by 162 is 9 with a remainder of 42.
Use 9 as the next digit of our solution. 
Result so far: 31877.4259259
Subtracting 1458 from 1500 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 15:
162 goes into 420 2 times with a remainder of 96.
The number 2 becomes the next digit in our result. 
Result so far: 31877.42592592
Subtracting 324 from 420 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

In conclusion, the division gives 31877.42592592 with a balance of 9.6e-08.