We divide 510872 by 8
We want to figure out the number of times 510872 can be divided by 8.

On to step 1:
When dividing 5 by 8, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 8

Moving on to step 2:
When dividing 51 by 8, we get 6 with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 48 from 51 and we're left with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 8

Advancing to step 3:
8 goes into 30 3 times with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 63.0
If we subtract 24 from 30, we get 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 8

Let's proceed to step 4:
When dividing 68 by 8, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 638.0
Subtracting 64 from 68 leaves us with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 8

Moving on to step 5:
The number 8 fits into 47 5 times, leaving a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 6385.0
Subtract 40 from 47 to get 7.
Grab the next digit (2) from the dividend, add it to 7, then carry on: 72 / 8

Step 6:
8 can be fit into 72 9 times, resulting in a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 63859.0
If we subtract 72 from 72, 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 7:
8 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 63859.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.

Step 8:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 63859.0
Subtracting 0 from 0 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.

After the division, we end up with 63859.0 and a remainder of 0.0.