Let's divide 138170 by 54
Our goal is to divide 138170 by 54.

On to step 1:
If we divide 1 by 54, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 54

Step 2:
54 goes into 13 0 times with a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 13, we get 13.
Fetch the next digit (8) from the dividend, attach it to 13 and continue: 138 / 54

Advancing to step 3:
54 can be fit into 138 2 times, resulting in a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 108 away from 138, we end up with 30.
Append the next digit (1) from the dividend to 30 and continue with: 301 / 54

Going ahead to step 4:
54 can be fit into 301 5 times, resulting in a remainder of 31.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtracting 270 from 301 leaves us with 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 54

Going ahead to step 5:
317 divided by 54 is 5 with a remainder of 47.
The number 5 becomes the next digit in our result. 
Result so far: 255.0
The remainder is 47 after subtracting 270 from 317.
Append the next digit (0) from the dividend to 47 and continue with: 470 / 54

On to step 6:
54 can be fit into 470 8 times, resulting in a remainder of 38.
The next digit of our result is 8. 
Result so far: 2558.0
If we take 432 away from 470, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 7:
The number 54 fits into 380 7 times, leaving a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 2558.7
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
54 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 2558.7
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
54 goes into 200 3 times with a remainder of 38.
The next digit of our result is 3. 
Result so far: 2558.703
The remainder is 38 after subtracting 162 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 10:
54 can be fit into 380 7 times, resulting in a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 2558.7037
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 11:
54 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 2558.7037
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 12:
200 divided by 54 is 3 with a remainder of 38.
Use 3 as the next digit of our solution. 
Result so far: 2558.703703
Subtract 162 from 200 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 13:
If we divide 380 by 54, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 2558.7037037
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 14:
20 divided by 54 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 2558.7037037
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 2558.7037037, and the remainder is 2e-08.