We look at the division of 512573 by 8 
Our goal is to divide 512573 by 8.

Step 1:
If we divide 5 by 8, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 8

Step 2:
51 divided by 8 is 6 with a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 3 after subtracting 48 from 51.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 8

Going ahead to step 3:
8 goes into 32 4 times with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 64.0
If we take 32 away from 32, we end up with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 8

On to step 4:
8 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 640.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 8

On to step 5:
57 divided by 8 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 6407.0
The remainder is 1 after subtracting 56 from 57.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 8

Advancing to step 6:
8 goes into 13 1 times with a remainder of 5.
The next digit of our result is 1. 
Result so far: 64071.0
If we take 8 away from 13, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
8 goes into 50 6 times with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 64071.6
Subtracting 48 from 50 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:
The number 8 fits into 20 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 64071.62
The remainder is 4 after subtracting 16 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
When dividing 40 by 8, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 64071.625
The remainder is 0 after subtracting 40 from 40.
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 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 64071.625
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.

Moving on to step 11:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 64071.625
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.

Our division results in 64071.625 with a remaining 0.0.