We're dividing 981791 by 7 
We want to figure out the number of times 981791 can be divided by 7.

Step 1:
9 divided by 7 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 7 from 9 to get 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 7

Advancing to step 2:
When dividing 28 by 7, we get 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Deduct 28 from 28 and we're left with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 7

Going ahead to step 3:
When dividing 1 by 7, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 7

Let's proceed to step 4:
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: 1402.0
If we take 14 away from 17, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 7

Advancing to step 5:
The number 7 fits into 39 5 times, leaving a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 14025.0
If we take 35 away from 39, we end up with 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 7

Let's proceed to step 6:
If we divide 41 by 7, we get 5 and a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 140255.0
Deduct 35 from 41 and we're left 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.

Advancing to step 7:
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: 140255.8
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

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

Moving on to step 9:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 140255.857
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.

Moving on to step 10:
If we divide 10 by 7, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 140255.8571
If we take 7 away from 10, we end up 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.

Moving on to step 11:
If we divide 30 by 7, we get 4 and a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 140255.85714
Deduct 28 from 30 and we're left 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.

Going ahead to step 12:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 140255.857142
Subtract 14 from 20 to 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.

Let's proceed to step 13:
When dividing 60 by 7, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 140255.8571428
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 14:
7 goes into 40 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 140255.85714285
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.

The quotient of the division is 140255.85714285, and the remainder is 5e-09.