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

Step 1:
97 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 97

Going ahead to step 2:
If we divide 58 by 97, we get 0 and a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Fetch the next digit (0) from the dividend, attach it to 58 and continue: 580 / 97

On to step 3:
When dividing 580 by 97, we get 5 with a remainder of 95.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 485 from 580 leaves us with 95.
Append the next digit (5) from the dividend to 95 and continue with: 955 / 97

Advancing to step 4:
97 can be fit into 955 9 times, resulting in a remainder of 82.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
Subtract 873 from 955 to get 82.
Grab the next digit (2) from the dividend, add it to 82, then carry on: 822 / 97

Let's proceed to step 5:
97 can be fit into 822 8 times, resulting in a remainder of 46.
Use 8 as the next digit of our solution. 
Result so far: 598.0
The remainder is 46 after subtracting 776 from 822.
Bring next digit (1) of the dividend behind the 46 and repeat the process: 461 / 97

Advancing to step 6:
461 divided by 97 is 4 with a remainder of 73.
Write down 4 as next digit of the result. 
Result so far: 5984.0
If we take 388 away from 461, we end up with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

On to step 7:
730 divided by 97 is 7 with a remainder of 51.
Use 7 as the next digit of our solution. 
Result so far: 5984.7
If we take 679 away from 730, we end up with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 8:
97 can be fit into 510 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 5984.75
Deduct 485 from 510 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 9:
When dividing 250 by 97, we get 2 with a remainder of 56.
Record the quotient 2 as the next digit in the result. 
Result so far: 5984.752
Deduct 194 from 250 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 10:
When dividing 560 by 97, we get 5 with a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 5984.7525
The remainder is 75 after subtracting 485 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 11:
The number 97 fits into 750 7 times, leaving a remainder of 71.
Use 7 as the next digit of our solution. 
Result so far: 5984.75257
Subtract 679 from 750 to get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

On to step 12:
97 can be fit into 710 7 times, resulting in a remainder of 31.
The next digit of our result is 7. 
Result so far: 5984.752577
Subtract 679 from 710 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The quotient of the division is 5984.752577, and the remainder is 3.1e-06.