We look at the division of 512099 by 8 
We're looking to find how many times 8 goes into 512099.

Going ahead to step 1:
When dividing 5 by 8, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 8

Advancing to step 2:
The number 8 fits into 51 6 times, leaving a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 48 from 51, we get 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 8

Going ahead to step 3:
8 can be fit into 32 4 times, resulting in a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 64.0
If we subtract 32 from 32, we get 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 8

Advancing to step 4:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 640.0
Subtract 0 from 0 to get 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 8

Going ahead to step 5:
9 divided by 8 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 6401.0
Subtract 8 from 9 to get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 8

Advancing to step 6:
19 divided by 8 is 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 64012.0
Subtracting 16 from 19 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
8 goes into 30 3 times with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 64012.3
Subtract 24 from 30 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
When dividing 60 by 8, we get 7 with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 64012.37
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 8 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 64012.375
Deduct 40 from 40 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.

Moving on to step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 64012.375
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.

Going ahead to step 11:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 64012.375
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.

Our division results in 64012.375 with a remaining 0.0.