502977 ÷ 8 
Let's see how many times 8 fits into 502977.

Moving on to step 1:
8 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 8

On to step 2:
When dividing 50 by 8, we get 6 with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we take 48 away from 50, we end up with 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 8

Going ahead to step 3:
22 divided by 8 is 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 62.0
The remainder is 6 after subtracting 16 from 22.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 8

Moving on to step 4:
8 can be fit into 69 8 times, resulting in a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 628.0
If we subtract 64 from 69, we get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 8

Moving on to step 5:
57 divided by 8 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 6287.0
Subtract 56 from 57 to get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 8

Advancing to step 6:
17 divided by 8 is 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 62872.0
The remainder is 1 after subtracting 16 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
8 goes into 10 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 62872.1
Subtracting 8 from 10 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
8 can be fit into 20 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 62872.12
Deduct 16 from 20 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 62872.125
If we subtract 40 from 40, we 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.

Step 10:
0 divided by 8 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 62872.125
If we subtract 0 from 0, we 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.

Moving on to step 11:
8 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 62872.125
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 62872.125, with a leftover of 0.0.