We look at the division of 37989685 by 165 
We're looking to find how many times 165 goes into 37989685.

Let's proceed to step 1:
3 divided by 165 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 165

Going ahead to step 2:
When dividing 37 by 165, we get 0 with a remainder of 37.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 37 leaves us with 37.
Bring next digit (9) of the dividend behind the 37 and repeat the process: 379 / 165

Let's proceed to step 3:
379 divided by 165 is 2 with a remainder of 49.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 330 from 379 and we're left with 49.
Include the next digit (8) from the dividend after 49, then repeat: 498 / 165

Step 4:
The number 165 fits into 498 3 times, leaving a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
Deduct 495 from 498 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 165

On to step 5:
165 goes into 39 0 times with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 230.0
Subtracting 0 from 39 leaves us with 39.
Grab the next digit (6) from the dividend, add it to 39, then carry on: 396 / 165

Going ahead to step 6:
165 can be fit into 396 2 times, resulting in a remainder of 66.
The number 2 becomes the next digit in our result. 
Result so far: 2302.0
If we subtract 330 from 396, we get 66.
Take the next digit (8) from the dividend and append it to 66, then repeat: 668 / 165

Moving on to step 7:
When dividing 668 by 165, we get 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 23024.0
Deduct 660 from 668 and we're left with 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 165

Step 8:
The number 165 fits into 85 0 times, leaving a remainder of 85.
Use 0 as the next digit of our solution. 
Result so far: 230240.0
If we subtract 0 from 85, we get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Let's proceed to step 9:
165 goes into 850 5 times with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 230240.5
If we subtract 825 from 850, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 10:
If we divide 250 by 165, we get 1 and a remainder of 85.
Put 1 as the next digit of the answer. 
Result so far: 230240.51
Deduct 165 from 250 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Moving on to step 11:
850 divided by 165 is 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 230240.515
If we subtract 825 from 850, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 12:
The number 165 fits into 250 1 times, leaving a remainder of 85.
The number 1 becomes the next digit in our result. 
Result so far: 230240.5151
If we take 165 away from 250, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Going ahead to step 13:
The number 165 fits into 850 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 230240.51515
Subtract 825 from 850 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 14:
165 goes into 250 1 times with a remainder of 85.
Use 1 as the next digit of our solution. 
Result so far: 230240.515151
Subtracting 165 from 250 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

On to step 15:
165 goes into 850 5 times with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 230240.5151515
If we subtract 825 from 850, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 16:
When dividing 250 by 165, we get 1 with a remainder of 85.
Use 1 as the next digit of our solution. 
Result so far: 230240.51515151
Subtracting 165 from 250 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

In conclusion, the division gives 230240.51515151 with a balance of 8.5e-08.