We divide 581597 by 4
We're looking to find how many times 4 goes into 581597.

Let's proceed to step 1:
5 divided by 4 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 4 from 5 to get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 4

Step 2:
4 goes into 18 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we take 16 away from 18, we end up with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 4

Moving on to step 3:
The number 4 fits into 21 5 times, leaving a remainder of 1.
The next digit of our result is 5. 
Result so far: 145.0
Deduct 20 from 21 and we're left with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 4

Moving on to step 4:
15 divided by 4 is 3 with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 1453.0
If we subtract 12 from 15, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 4

Going ahead to step 5:
When dividing 39 by 4, we get 9 with a remainder of 3.
The next digit of our result is 9. 
Result so far: 14539.0
If we subtract 36 from 39, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 4

Step 6:
If we divide 37 by 4, we get 9 and a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 145399.0
If we take 36 away from 37, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 4, we get 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 145399.2
Deduct 8 from 10 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 8:
4 goes into 20 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 145399.25
The remainder is 0 after subtracting 20 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 145399.25
Subtract 0 from 0 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.

Advancing to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 145399.25
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.

The final outcome is 145399.25, with a leftover of 0.0.