Let's divide 583091 by 4
We want to divide 583091 by 4.

Going ahead to step 1:
5 divided by 4 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 4 from 5.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 4

Moving on to step 2:
The number 4 fits into 18 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Deduct 16 from 18 and we're left with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 4

Step 3:
The number 4 fits into 23 5 times, leaving a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 145.0
The remainder is 3 after subtracting 20 from 23.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 4

Advancing to step 4:
4 can be fit into 30 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 1457.0
If we take 28 away from 30, we end up with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 4

Moving on to step 5:
The number 4 fits into 29 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 14577.0
Subtracting 28 from 29 leaves us with 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 4

Moving on to step 6:
4 goes into 11 2 times with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 145772.0
Subtracting 8 from 11 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
4 goes into 30 7 times with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 145772.7
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
If we divide 20 by 4, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 145772.75
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.

Advancing to step 9:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 145772.75
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.

Going ahead to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 145772.75
Subtracting 0 from 0 leaves us 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 145772.75, with a leftover of 0.0.