Let's divide 580561 by 42
We want to figure out the number of times 580561 can be divided by 42.

Going ahead to step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 42

Moving on to step 2:
The number 42 fits into 58 1 times, leaving a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 42 away from 58, we end up with 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 42

On to step 3:
The number 42 fits into 160 3 times, leaving a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 13.0
The remainder is 34 after subtracting 126 from 160.
Include the next digit (5) from the dividend after 34, then repeat: 345 / 42

Going ahead to step 4:
345 divided by 42 is 8 with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 138.0
If we subtract 336 from 345, we get 9.
Take the next digit (6) from the dividend and append it to 9, then repeat: 96 / 42

Let's proceed to step 5:
42 can be fit into 96 2 times, resulting in a remainder of 12.
The next digit of our result is 2. 
Result so far: 1382.0
Subtracting 84 from 96 leaves us with 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 42

Let's proceed to step 6:
The number 42 fits into 121 2 times, leaving a remainder of 37.
Use 2 as the next digit of our solution. 
Result so far: 13822.0
Deduct 84 from 121 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 7:
370 divided by 42 is 8 with a remainder of 34.
Write down 8 as next digit of the result. 
Result so far: 13822.8
If we subtract 336 from 370, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 8:
42 can be fit into 340 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 13822.88
Subtracting 336 from 340 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 13822.88, with a leftover of 0.004.