We divide 500387 by 97
Let's see how many times 97 fits into 500387.

Going ahead to step 1:
5 divided by 97 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 97

Advancing to step 2:
97 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Fetch the next digit (0) from the dividend, attach it to 50 and continue: 500 / 97

Advancing to step 3:
If we divide 500 by 97, we get 5 and a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 485 from 500, we get 15.
Grab the next digit (3) from the dividend, add it to 15, then carry on: 153 / 97

Let's proceed to step 4:
The number 97 fits into 153 1 times, leaving a remainder of 56.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
If we take 97 away from 153, we end up with 56.
Bring next digit (8) of the dividend behind the 56 and repeat the process: 568 / 97

Advancing to step 5:
97 goes into 568 5 times with a remainder of 83.
Put 5 as the next digit of the answer. 
Result so far: 515.0
Deduct 485 from 568 and we're left with 83.
Bring next digit (7) of the dividend behind the 83 and repeat the process: 837 / 97

Advancing to step 6:
97 can be fit into 837 8 times, resulting in a remainder of 61.
Write down 8 as next digit of the result. 
Result so far: 5158.0
Subtract 776 from 837 to get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Moving on to step 7:
If we divide 610 by 97, we get 6 and a remainder of 28.
The next digit of our result is 6. 
Result so far: 5158.6
Deduct 582 from 610 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
97 can be fit into 280 2 times, resulting in a remainder of 86.
Write down 2 as next digit of the result. 
Result so far: 5158.62
Deduct 194 from 280 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

On to step 9:
860 divided by 97 is 8 with a remainder of 84.
Put 8 as the next digit of the answer. 
Result so far: 5158.628
Subtract 776 from 860 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 10:
97 goes into 840 8 times with a remainder of 64.
Write down 8 as next digit of the result. 
Result so far: 5158.6288
Deduct 776 from 840 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The final outcome is 5158.6288, with a leftover of 0.00064.