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

Moving on to step 1:
45 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 45

Going ahead to step 2:
45 goes into 51 1 times with a remainder of 6.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 45 from 51, we get 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 45

Let's proceed to step 3:
When dividing 67 by 45, we get 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 45 from 67 and we're left with 22.
Append the next digit (8) from the dividend to 22 and continue with: 228 / 45

Advancing to step 4:
228 divided by 45 is 5 with a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 115.0
Subtracting 225 from 228 leaves us with 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 45

Advancing to step 5:
45 goes into 35 0 times with a remainder of 35.
Put 0 as the next digit of the answer. 
Result so far: 1150.0
The remainder is 35 after subtracting 0 from 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 6:
The number 45 fits into 350 7 times, leaving a remainder of 35.
The next digit of our result is 7. 
Result so far: 1150.7
Deduct 315 from 350 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 7:
45 can be fit into 350 7 times, resulting in a remainder of 35.
Write down 7 as next digit of the result. 
Result so far: 1150.77
If we subtract 315 from 350, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 1150.77, with a leftover of 0.035.