580987 divided by 97 
We're looking to find how many times 97 goes into 580987.

Let's proceed to step 1:
97 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
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 / 97

Moving on to step 2:
If we divide 58 by 97, we get 0 and a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Fetch the next digit (0) from the dividend, attach it to 58 and continue: 580 / 97

Going ahead to step 3:
97 can be fit into 580 5 times, resulting in a remainder of 95.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 95 after subtracting 485 from 580.
Append the next digit (9) from the dividend to 95 and continue with: 959 / 97

Let's proceed to step 4:
97 can be fit into 959 9 times, resulting in a remainder of 86.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
Subtracting 873 from 959 leaves us with 86.
Append the next digit (8) from the dividend to 86 and continue with: 868 / 97

On to step 5:
97 goes into 868 8 times with a remainder of 92.
Use 8 as the next digit of our solution. 
Result so far: 598.0
Subtract 776 from 868 to get 92.
Bring next digit (7) of the dividend behind the 92 and repeat the process: 927 / 97

Step 6:
927 divided by 97 is 9 with a remainder of 54.
The next digit of our result is 9. 
Result so far: 5989.0
Deduct 873 from 927 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 7:
97 goes into 540 5 times with a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 5989.5
Subtract 485 from 540 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 8:
When dividing 550 by 97, we get 5 with a remainder of 65.
Put 5 as the next digit of the answer. 
Result so far: 5989.55
Deduct 485 from 550 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

The quotient of the division is 5989.55, and the remainder is 0.065.