We divide 509770 by 5
We're looking to find how many times 5 goes into 509770.

Let's proceed to step 1:
If we divide 5 by 5, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 0 after subtracting 5 from 5.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 5

Advancing to step 2:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we take 0 away from 0, we end up with 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 5

Moving on to step 3:
9 divided by 5 is 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 101.0
Subtract 5 from 9 to get 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 5

Let's proceed to step 4:
The number 5 fits into 47 9 times, leaving a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 1019.0
If we take 45 away from 47, we end up with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 5

On to step 5:
The number 5 fits into 27 5 times, leaving a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 10195.0
Deduct 25 from 27 and we're left with 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 5

Going ahead to step 6:
20 divided by 5 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 101954.0
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.

On to step 7:
When dividing 0 by 5, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 101954.0
Subtract 0 from 0 to 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 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 101954.0
Deduct 0 from 0 and we're left 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 101954.0, with a leftover of 0.0.