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

Advancing to step 1:
The number 45 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 45

Going ahead to step 2:
45 can be fit into 59 1 times, resulting in a remainder of 14.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 45 away from 59, we end up with 14.
Fetch the next digit (6) from the dividend, attach it to 14 and continue: 146 / 45

Let's proceed to step 3:
45 can be fit into 146 3 times, resulting in a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtract 135 from 146 to get 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 45

Let's proceed to step 4:
The number 45 fits into 111 2 times, leaving a remainder of 21.
Record the quotient 2 as the next digit in the result. 
Result so far: 132.0
If we subtract 90 from 111, we get 21.
Take the next digit (5) from the dividend and append it to 21, then repeat: 215 / 45

On to step 5:
45 goes into 215 4 times with a remainder of 35.
Use 4 as the next digit of our solution. 
Result so far: 1324.0
Subtract 180 from 215 to get 35.
Include the next digit (7) from the dividend after 35, then repeat: 357 / 45

On to step 6:
45 can be fit into 357 7 times, resulting in a remainder of 42.
Put 7 as the next digit of the answer. 
Result so far: 13247.0
If we subtract 315 from 357, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 7:
45 can be fit into 420 9 times, resulting in a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 13247.9
Deduct 405 from 420 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
150 divided by 45 is 3 with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 13247.93
Subtracting 135 from 150 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 9:
When dividing 150 by 45, we get 3 with a remainder of 15.
Use 3 as the next digit of our solution. 
Result so far: 13247.933
If we take 135 away from 150, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 13247.933, with a leftover of 0.0015.