4178331 divided by 165 
We're looking to find how many times 165 goes into 4178331.

Step 1:
When dividing 4 by 165, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 165

On to step 2:
The number 165 fits into 41 0 times, leaving a remainder of 41.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 41 to get 41.
Grab the next digit (7) from the dividend, add it to 41, then carry on: 417 / 165

On to step 3:
If we divide 417 by 165, we get 2 and a remainder of 87.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 330 from 417 and we're left with 87.
Fetch the next digit (8) from the dividend, attach it to 87 and continue: 878 / 165

Let's proceed to step 4:
165 goes into 878 5 times with a remainder of 53.
Write down 5 as next digit of the result. 
Result so far: 25.0
Deduct 825 from 878 and we're left with 53.
Grab the next digit (3) from the dividend, add it to 53, then carry on: 533 / 165

On to step 5:
The number 165 fits into 533 3 times, leaving a remainder of 38.
The next digit of our result is 3. 
Result so far: 253.0
If we take 495 away from 533, we end up with 38.
Append the next digit (3) from the dividend to 38 and continue with: 383 / 165

Moving on to step 6:
When dividing 383 by 165, we get 2 with a remainder of 53.
The next digit of our result is 2. 
Result so far: 2532.0
Subtracting 330 from 383 leaves us with 53.
Bring next digit (1) of the dividend behind the 53 and repeat the process: 531 / 165

Moving on to step 7:
The number 165 fits into 531 3 times, leaving a remainder of 36.
Record the quotient 3 as the next digit in the result. 
Result so far: 25323.0
Subtracting 495 from 531 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
165 goes into 360 2 times with a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 25323.2
The remainder is 30 after subtracting 330 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 9:
165 can be fit into 300 1 times, resulting in a remainder of 135.
The next digit of our result is 1. 
Result so far: 25323.21
The remainder is 135 after subtracting 165 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Going ahead to step 10:
165 goes into 1350 8 times with a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 25323.218
The remainder is 30 after subtracting 1320 from 1350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
The number 165 fits into 300 1 times, leaving a remainder of 135.
Record the quotient 1 as the next digit in the result. 
Result so far: 25323.2181
If we take 165 away from 300, we end up with 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

On to step 12:
1350 divided by 165 is 8 with a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 25323.21818
If we subtract 1320 from 1350, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 13:
If we divide 300 by 165, we get 1 and a remainder of 135.
Record the quotient 1 as the next digit in the result. 
Result so far: 25323.218181
Subtract 165 from 300 to get 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Going ahead to step 14:
The number 165 fits into 1350 8 times, leaving a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 25323.2181818
If we take 1320 away from 1350, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 15:
165 can be fit into 300 1 times, resulting in a remainder of 135.
Write down 1 as next digit of the result. 
Result so far: 25323.21818181
Subtract 165 from 300 to get 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

The final result is 25323.21818181 with a remainder of 1.35e-07.