We look at the division of 507771 by 99 
Our goal is to divide 507771 by 99.

Moving on to step 1:
If we divide 5 by 99, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 99

Moving on to step 2:
99 can be fit into 50 0 times, resulting in a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Fetch the next digit (7) from the dividend, attach it to 50 and continue: 507 / 99

Moving on to step 3:
507 divided by 99 is 5 with a remainder of 12.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 495 from 507, we get 12.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 99

Let's proceed to step 4:
The number 99 fits into 127 1 times, leaving a remainder of 28.
Use 1 as the next digit of our solution. 
Result so far: 51.0
Subtract 99 from 127 to get 28.
Grab the next digit (7) from the dividend, add it to 28, then carry on: 287 / 99

On to step 5:
When dividing 287 by 99, we get 2 with a remainder of 89.
The number 2 becomes the next digit in our result. 
Result so far: 512.0
Subtracting 198 from 287 leaves us with 89.
Append the next digit (1) from the dividend to 89 and continue with: 891 / 99

Let's proceed to step 6:
The number 99 fits into 891 9 times, leaving a remainder of 0.
The next digit of our result is 9. 
Result so far: 5129.0
Subtracting 891 from 891 leaves us 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.

Going ahead to step 7:
99 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 5129.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.

Advancing to step 8:
99 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5129.0
If we take 0 away from 0, we end up 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 5129.0, with a leftover of 0.0.