Let's divide 662987 by 8
Our goal is to divide 662987 by 8.

Going ahead to step 1:
If we divide 6 by 8, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 8

Going ahead to step 2:
When dividing 66 by 8, we get 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we take 64 away from 66, we end up with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 8

Let's proceed to step 3:
When dividing 22 by 8, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 82.0
The remainder is 6 after subtracting 16 from 22.
Append the next digit (9) from the dividend to 6 and continue with: 69 / 8

Moving on to step 4:
The number 8 fits into 69 8 times, leaving a remainder of 5.
The next digit of our result is 8. 
Result so far: 828.0
The remainder is 5 after subtracting 64 from 69.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 8

On to step 5:
If we divide 58 by 8, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 8287.0
If we take 56 away from 58, we end up with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 8

Going ahead to step 6:
8 goes into 27 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 82873.0
The remainder is 3 after subtracting 24 from 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
The number 8 fits into 30 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 82873.3
If we subtract 24 from 30, we 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:
When dividing 60 by 8, we get 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 82873.37
If we take 56 away from 60, we end up 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.

Step 9:
8 goes into 40 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 82873.375
If we take 40 away from 40, 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.

On to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 82873.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.

Step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 82873.375
Subtract 0 from 0 to 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 82873.375 with a remaining 0.0.