We look at the division of 995871 by 8 
We want to figure out the number of times 995871 can be divided by 8.

Advancing to step 1:
When dividing 9 by 8, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 8 from 9 to get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 8

Going ahead to step 2:
19 divided by 8 is 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtracting 16 from 19 leaves us with 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 8

Advancing to step 3:
If we divide 35 by 8, we get 4 and a remainder of 3.
The next digit of our result is 4. 
Result so far: 124.0
If we subtract 32 from 35, we get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 8

On to step 4:
When dividing 38 by 8, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 1244.0
If we take 32 away from 38, we end up with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 8

Step 5:
67 divided by 8 is 8 with a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 12448.0
If we subtract 64 from 67, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 8

On to step 6:
31 divided by 8 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 124483.0
If we subtract 24 from 31, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
8 goes into 70 8 times with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 124483.8
Subtract 64 from 70 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.

Going ahead to step 8:
8 goes into 60 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 124483.87
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.

Moving on 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: 124483.875
Subtracting 40 from 40 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.

Moving on to step 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 124483.875
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.

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

The final result is 124483.875 with a remainder of 0.0.