We're dividing 164982 by 7 
We're looking to find how many times 7 goes into 164982.

Moving on to step 1:
7 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 7

Step 2:
7 goes into 16 2 times with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 14 away from 16, we end up with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 7

Let's proceed to step 3:
When dividing 24 by 7, we get 3 with a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
The remainder is 3 after subtracting 21 from 24.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 7

Moving on to step 4:
If we divide 39 by 7, we get 5 and a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 235.0
Deduct 35 from 39 and we're left with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 7

Moving on to step 5:
48 divided by 7 is 6 with a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 2356.0
If we subtract 42 from 48, we get 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 7

Moving on to step 6:
When dividing 62 by 7, we get 8 with a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 23568.0
Subtract 56 from 62 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.

Advancing to step 7:
When dividing 60 by 7, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 23568.8
If we subtract 56 from 60, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

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: 23568.85
If we subtract 35 from 40, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
7 goes into 50 7 times with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 23568.857
If we subtract 49 from 50, we get 1.
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 10:
7 goes into 10 1 times with a remainder of 3.
The next digit of our result is 1. 
Result so far: 23568.8571
Subtract 7 from 10 to get 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:
When dividing 30 by 7, we get 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 23568.85714
If we take 28 away from 30, 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.

Going ahead to step 12:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 23568.857142
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.

On to step 13:
7 goes into 60 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 23568.8571428
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 23568.85714285
Deduct 35 from 40 and we're left 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 final outcome is 23568.85714285, with a leftover of 5e-09.