We look at the division of 5164194 by 162 
Our goal is to divide 5164194 by 162.

Advancing to step 1:
162 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 162

Moving on to step 2:
The number 162 fits into 51 0 times, leaving a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Take the next digit (6) from the dividend and append it to 51, then repeat: 516 / 162

Step 3:
The number 162 fits into 516 3 times, leaving a remainder of 30.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 486 from 516 and we're left with 30.
Fetch the next digit (4) from the dividend, attach it to 30 and continue: 304 / 162

Going ahead 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
Subtract 162 from 304 to get 142.
Include the next digit (1) from the dividend after 142, then repeat: 1421 / 162

Let's proceed to step 5:
If we divide 1421 by 162, we get 8 and a remainder of 125.
Use 8 as the next digit of our solution. 
Result so far: 318.0
Subtracting 1296 from 1421 leaves us with 125.
Append the next digit (9) from the dividend to 125 and continue with: 1259 / 162

Step 6:
1259 divided by 162 is 7 with a remainder of 125.
Put 7 as the next digit of the answer. 
Result so far: 3187.0
Subtract 1134 from 1259 to get 125.
Grab the next digit (4) from the dividend, add it to 125, then carry on: 1254 / 162

On to step 7:
1254 divided by 162 is 7 with a remainder of 120.
Put 7 as the next digit of the answer. 
Result so far: 31877.0
Deduct 1134 from 1254 and we're left with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 8:
When dividing 1200 by 162, we get 7 with a remainder of 66.
Write down 7 as next digit of the result. 
Result so far: 31877.7
Deduct 1134 from 1200 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 9:
162 can be fit into 660 4 times, resulting in a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 31877.74
Subtract 648 from 660 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
The number 162 fits into 120 0 times, leaving a remainder of 120.
The next digit of our result is 0. 
Result so far: 31877.74
If we take 0 away from 120, we end up with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Moving on to step 11:
162 goes into 1200 7 times with a remainder of 66.
Use 7 as the next digit of our solution. 
Result so far: 31877.7407
Subtract 1134 from 1200 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 12:
162 goes into 660 4 times with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 31877.74074
Deduct 648 from 660 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 13:
The number 162 fits into 120 0 times, leaving a remainder of 120.
Record the quotient 0 as the next digit in the result. 
Result so far: 31877.74074
Subtract 0 from 120 to get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 14:
The number 162 fits into 1200 7 times, leaving a remainder of 66.
Use 7 as the next digit of our solution. 
Result so far: 31877.7407407
If we take 1134 away from 1200, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 15:
162 goes into 660 4 times with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 31877.74074074
If we subtract 648 from 660, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 31877.74074074 with a remainder of 1.2e-08.