We're dividing 165938 by 36 
Let's see how many times 36 fits into 165938.

Moving on to step 1:
The number 36 fits into 1 0 times, leaving 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.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 36

Moving on to step 2:
If we divide 16 by 36, we get 0 and a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 36

Step 3:
36 goes into 165 4 times with a remainder of 21.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 21 after subtracting 144 from 165.
Append the next digit (9) from the dividend to 21 and continue with: 219 / 36

Step 4:
When dividing 219 by 36, we get 6 with a remainder of 3.
The next digit of our result is 6. 
Result so far: 46.0
If we take 216 away from 219, we end up with 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 36

Step 5:
36 can be fit into 33 0 times, resulting in a remainder of 33.
The next digit of our result is 0. 
Result so far: 460.0
If we subtract 0 from 33, we get 33.
Append the next digit (8) from the dividend to 33 and continue with: 338 / 36

Advancing to step 6:
338 divided by 36 is 9 with a remainder of 14.
Use 9 as the next digit of our solution. 
Result so far: 4609.0
Deduct 324 from 338 and we're left 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.

Moving on to step 7:
When dividing 140 by 36, we get 3 with a remainder of 32.
Record the quotient 3 as the next digit in the result. 
Result so far: 4609.3
Deduct 108 from 140 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 8:
36 can be fit into 320 8 times, resulting in a remainder of 32.
The next digit of our result is 8. 
Result so far: 4609.38
Subtracting 288 from 320 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 9:
36 goes into 320 8 times with a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 4609.388
The remainder is 32 after subtracting 288 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

In conclusion, the division gives 4609.388 with a balance of 0.0032.