Let's divide 8971007 by 997
We're looking to find how many times 997 goes into 8971007.

On to step 1:
If we divide 8 by 997, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 997

Going ahead to step 2:
If we divide 89 by 997, we get 0 and a remainder of 89.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 89 after subtracting 0 from 89.
Grab the next digit (7) from the dividend, add it to 89, then carry on: 897 / 997

Let's proceed to step 3:
When dividing 897 by 997, we get 0 with a remainder of 897.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 897 and we're left with 897.
Append the next digit (1) from the dividend to 897 and continue with: 8971 / 997

Let's proceed to step 4:
997 can be fit into 8971 8 times, resulting in a remainder of 995.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtracting 7976 from 8971 leaves us with 995.
Grab the next digit (0) from the dividend, add it to 995, then carry on: 9950 / 997

Moving on to step 5:
9950 divided by 997 is 9 with a remainder of 977.
The next digit of our result is 9. 
Result so far: 89.0
Subtract 8973 from 9950 to get 977.
Bring next digit (0) of the dividend behind the 977 and repeat the process: 9770 / 997

Moving on to step 6:
If we divide 9770 by 997, we get 9 and a remainder of 797.
Put 9 as the next digit of the answer. 
Result so far: 899.0
The remainder is 797 after subtracting 8973 from 9770.
Grab the next digit (7) from the dividend, add it to 797, then carry on: 7977 / 997

Let's proceed to step 7:
997 can be fit into 7977 8 times, resulting in a remainder of 1.
The next digit of our result is 8. 
Result so far: 8998.0
The remainder is 1 after subtracting 7976 from 7977.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 8:
When dividing 10 by 997, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 8998.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
997 can be fit into 100 0 times, resulting in a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 8998.0
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Our division results in 8998.0 with a remaining 0.1.