We're dividing 997054 by 7 
We want to divide 997054 by 7.

Let's proceed to step 1:
7 can be fit into 9 1 times, resulting in a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 2 after subtracting 7 from 9.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 7

On to step 2:
The number 7 fits into 29 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Deduct 28 from 29 and we're left with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 7

Going ahead to step 3:
When dividing 17 by 7, we get 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 142.0
Subtracting 14 from 17 leaves us with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 7

On to step 4:
If we divide 30 by 7, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 1424.0
If we subtract 28 from 30, we get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 7

Let's proceed to step 5:
7 can be fit into 25 3 times, resulting in a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 14243.0
Subtract 21 from 25 to get 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 7

Let's proceed to step 6:
When dividing 44 by 7, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 142436.0
If we take 42 away from 44, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
When dividing 20 by 7, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 142436.2
The remainder is 6 after subtracting 14 from 20.
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:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 142436.28
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.

Moving on to step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 142436.285
If we take 35 away from 40, we end up 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.

On to step 10:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 142436.2857
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.

On to step 11:
If we divide 10 by 7, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 142436.28571
Deduct 7 from 10 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 12:
If we divide 30 by 7, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 142436.285714
If we subtract 28 from 30, we get 2.
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 13:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 142436.2857142
Subtracting 14 from 20 leaves us with 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 14:
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: 142436.28571428
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.

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