We look at the division of 165982 by 37 
We want to divide 165982 by 37.

Step 1:
If we divide 1 by 37, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 37

Advancing to step 2:
37 can be fit into 16 0 times, resulting in a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 37

Step 3:
165 divided by 37 is 4 with a remainder of 17.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtract 148 from 165 to get 17.
Append the next digit (9) from the dividend to 17 and continue with: 179 / 37

Let's proceed to step 4:
179 divided by 37 is 4 with a remainder of 31.
The next digit of our result is 4. 
Result so far: 44.0
Subtract 148 from 179 to get 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 37

On to step 5:
318 divided by 37 is 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 448.0
If we take 296 away from 318, we end up with 22.
Take the next digit (2) from the dividend and append it to 22, then repeat: 222 / 37

Advancing to step 6:
37 can be fit into 222 6 times, resulting in a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 4486.0
The remainder is 0 after subtracting 222 from 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
37 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4486.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
37 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4486.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 4486.0 and a remainder of 0.0.