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

Step 1:
If we divide 2 by 51, we get 0 and a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 51

Going ahead to step 2:
51 goes into 25 0 times with a remainder of 25.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 25 to get 25.
Include the next digit (8) from the dividend after 25, then repeat: 258 / 51

Moving on to step 3:
258 divided by 51 is 5 with a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 255 from 258 leaves us with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 51

Moving on to step 4:
If we divide 30 by 51, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
If we take 0 away from 30, we end up with 30.
Fetch the next digit (5) from the dividend, attach it to 30 and continue: 305 / 51

Going ahead to step 5:
51 can be fit into 305 5 times, resulting in a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 505.0
If we subtract 255 from 305, we get 50.
Take the next digit (4) from the dividend and append it to 50, then repeat: 504 / 51

On to step 6:
The number 51 fits into 504 9 times, leaving a remainder of 45.
Put 9 as the next digit of the answer. 
Result so far: 5059.0
Deduct 459 from 504 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 7:
51 goes into 450 8 times with a remainder of 42.
Write down 8 as next digit of the result. 
Result so far: 5059.8
The remainder is 42 after subtracting 408 from 450.
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 8:
The number 51 fits into 420 8 times, leaving a remainder of 12.
The next digit of our result is 8. 
Result so far: 5059.88
The remainder is 12 after subtracting 408 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 5059.88, and the remainder is 0.012.