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

On to step 1:
41 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 41

Let's proceed to step 2:
41 goes into 16 0 times with a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 41

Step 3:
165 divided by 41 is 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 164 from 165 leaves us with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 41

Moving on to step 4:
When dividing 18 by 41, we get 0 with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtracting 0 from 18 leaves us with 18.
Take the next digit (6) from the dividend and append it to 18, then repeat: 186 / 41

Let's proceed to step 5:
41 can be fit into 186 4 times, resulting in a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 404.0
Subtracting 164 from 186 leaves us with 22.
Bring next digit (4) of the dividend behind the 22 and repeat the process: 224 / 41

On to step 6:
41 can be fit into 224 5 times, resulting in a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 4045.0
Subtracting 205 from 224 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
190 divided by 41 is 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 4045.4
If we subtract 164 from 190, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 8:
The number 41 fits into 260 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 4045.46
Subtracting 246 from 260 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
The number 41 fits into 140 3 times, leaving a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 4045.463
Subtracting 123 from 140 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
41 goes into 170 4 times with a remainder of 6.
The next digit of our result is 4. 
Result so far: 4045.4634
The remainder is 6 after subtracting 164 from 170.
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 11:
When dividing 60 by 41, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 4045.46341
Subtracting 41 from 60 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 12:
When dividing 190 by 41, we get 4 with a remainder of 26.
The next digit of our result is 4. 
Result so far: 4045.463414
Subtract 164 from 190 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
260 divided by 41 is 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 4045.4634146
If we subtract 246 from 260, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 14:
When dividing 140 by 41, we get 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 4045.46341463
Subtracting 123 from 140 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Our division results in 4045.46341463 with a remaining 1.7e-08.