We divide 997108 by 8
We want to divide 997108 by 8.

On to step 1:
8 can be fit into 9 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 8 from 9 to get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 8

Step 2:
8 can be fit into 19 2 times, resulting in a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 16 from 19 to get 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 8

Step 3:
The number 8 fits into 37 4 times, leaving a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 124.0
If we subtract 32 from 37, we get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 8

Let's proceed to step 4:
8 can be fit into 51 6 times, resulting in a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 1246.0
Subtract 48 from 51 to get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 8

On to step 5:
If we divide 30 by 8, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 12463.0
If we subtract 24 from 30, we get 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 8

On to step 6:
8 goes into 68 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 124638.0
If we take 64 away from 68, 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.

Let's proceed to step 7:
40 divided by 8 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 124638.5
If we subtract 40 from 40, 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.

Let's proceed to step 8:
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: 124638.5
The remainder is 0 after subtracting 0 from 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 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 124638.5
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.

The final result is 124638.5 with a remainder of 0.0.