We look at the division of 165155 by 7 
We want to figure out the number of times 165155 can be divided by 7.

Advancing to step 1:
When dividing 1 by 7, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 7

Let's proceed to step 2:
7 can be fit into 16 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 14 from 16 leaves us with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 7

Moving on to step 3:
If we divide 25 by 7, we get 3 and a remainder of 4.
The next digit of our result is 3. 
Result so far: 23.0
Deduct 21 from 25 and we're left with 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 7

Moving on to step 4:
The number 7 fits into 41 5 times, leaving a remainder of 6.
The next digit of our result is 5. 
Result so far: 235.0
The remainder is 6 after subtracting 35 from 41.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 7

Step 5:
If we divide 65 by 7, we get 9 and a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 2359.0
The remainder is 2 after subtracting 63 from 65.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 7

Advancing to step 6:
7 can be fit into 25 3 times, resulting in a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 23593.0
If we subtract 21 from 25, 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.

On to step 7:
If we divide 40 by 7, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 23593.5
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.

Going ahead to step 8:
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: 23593.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.

On to step 9:
7 goes into 10 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 23593.571
Subtracting 7 from 10 leaves us 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 10:
When dividing 30 by 7, we get 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 23593.5714
Subtracting 28 from 30 leaves us 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.

Let's proceed to step 11:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 23593.57142
If we take 14 away from 20, we end up 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 12:
7 can be fit into 60 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 23593.571428
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.

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

Advancing to step 14:
7 goes into 50 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 23593.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.

The final outcome is 23593.57142857, with a leftover of 1e-09.