We divide 51158 by 54
Our goal is to divide 51158 by 54.

On to step 1:
The number 54 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 54

Step 2:
When dividing 51 by 54, we get 0 with a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Take the next digit (1) from the dividend and append it to 51, then repeat: 511 / 54

Let's proceed to step 3:
The number 54 fits into 511 9 times, leaving a remainder of 25.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Subtracting 486 from 511 leaves us with 25.
Grab the next digit (5) from the dividend, add it to 25, then carry on: 255 / 54

Advancing to step 4:
54 goes into 255 4 times with a remainder of 39.
Use 4 as the next digit of our solution. 
Result so far: 94.0
The remainder is 39 after subtracting 216 from 255.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 54

Advancing to step 5:
398 divided by 54 is 7 with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 947.0
If we subtract 378 from 398, 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.

Going ahead to step 6:
200 divided by 54 is 3 with a remainder of 38.
Record the quotient 3 as the next digit in the result. 
Result so far: 947.3
If we subtract 162 from 200, we 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.

Advancing to step 7:
380 divided by 54 is 7 with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 947.37
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.

Let's proceed to step 8:
54 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 947.37
Subtracting 0 from 20 leaves us 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.

Going ahead to step 9:
54 can be fit into 200 3 times, resulting in a remainder of 38.
The next digit of our result is 3. 
Result so far: 947.3703
Deduct 162 from 200 and we're left 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.

Moving on to step 10:
380 divided by 54 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 947.37037
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 11:
If we divide 20 by 54, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 947.37037
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.

Moving on to step 12:
54 can be fit into 200 3 times, resulting in a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 947.3703703
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.

Moving on to step 13:
380 divided by 54 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 947.37037037
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.

After the division, we end up with 947.37037037 and a remainder of 2e-09.