We look at the division of 257904 by 45 
We want to figure out the number of times 257904 can be divided by 45.

On to step 1:
The number 45 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 45

Advancing to step 2:
If we divide 25 by 45, we get 0 and a remainder of 25.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 25 and we're left with 25.
Include the next digit (7) from the dividend after 25, then repeat: 257 / 45

Going ahead to step 3:
The number 45 fits into 257 5 times, leaving a remainder of 32.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 32 after subtracting 225 from 257.
Bring next digit (9) of the dividend behind the 32 and repeat the process: 329 / 45

Moving on to step 4:
45 can be fit into 329 7 times, resulting in a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 57.0
If we take 315 away from 329, we end up with 14.
Include the next digit (0) from the dividend after 14, then repeat: 140 / 45

On to step 5:
If we divide 140 by 45, we get 3 and a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 573.0
Subtracting 135 from 140 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 45

Step 6:
If we divide 54 by 45, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 5731.0
The remainder is 9 after subtracting 45 from 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
When dividing 90 by 45, we get 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 5731.2
If we subtract 90 from 90, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
When dividing 0 by 45, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5731.2
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
45 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5731.2
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 5731.2 with a remainder of 0.0.