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

Let's proceed to step 1:
If we divide 9 by 7, we get 1 and a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 7 from 9, we get 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 7

Moving on to step 2:
When dividing 29 by 7, we get 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we take 28 away from 29, we end up with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 7

Let's proceed to step 3:
When dividing 17 by 7, we get 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 142.0
Deduct 14 from 17 and we're left with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 7

Moving on to step 4:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 1424.0
Subtracting 28 from 30 leaves us with 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 7

On to step 5:
If we divide 20 by 7, we get 2 and a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 14242.0
If we subtract 14 from 20, we get 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 7

On to step 6:
7 goes into 67 9 times with a remainder of 4.
The next digit of our result is 9. 
Result so far: 142429.0
The remainder is 4 after subtracting 63 from 67.
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 7:
When dividing 40 by 7, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 142429.5
Subtracting 35 from 40 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 142429.57
Deduct 49 from 50 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 9:
7 goes into 10 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 142429.571
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 10:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 142429.5714
The remainder is 2 after subtracting 28 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 11:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 142429.57142
If we subtract 14 from 20, 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.

Moving on to step 12:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 142429.571428
Deduct 56 from 60 and we're left 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 13:
If we divide 40 by 7, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 142429.5714285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 14:
The number 7 fits into 50 7 times, leaving a remainder of 1.
The next digit of our result is 7. 
Result so far: 142429.57142857
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 142429.57142857 and a remainder of 1e-09.