We're dividing 585810 by 45 
Our goal is to divide 585810 by 45.

Advancing to step 1:
When dividing 5 by 45, we get 0 with 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.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 45

Let's proceed to step 2:
45 can be fit into 58 1 times, resulting in a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 13 after subtracting 45 from 58.
Grab the next digit (5) from the dividend, add it to 13, then carry on: 135 / 45

Step 3:
If we divide 135 by 45, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 13.0
The remainder is 0 after subtracting 135 from 135.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 45

Step 4:
8 divided by 45 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 130.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 45

Advancing to step 5:
The number 45 fits into 81 1 times, leaving a remainder of 36.
Use 1 as the next digit of our solution. 
Result so far: 1301.0
Subtracting 45 from 81 leaves us with 36.
Append the next digit (0) from the dividend to 36 and continue with: 360 / 45

Advancing to step 6:
When dividing 360 by 45, we get 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 13018.0
Subtract 360 from 360 to 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.

Step 7:
45 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 13018.0
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.

Let's proceed to step 8:
45 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 13018.0
If we take 0 away from 0, we end up with 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 outcome is 13018.0, with a leftover of 0.0.