We're dividing 165390 by 77 
Our goal is to divide 165390 by 77.

Step 1:
1 divided by 77 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 77

Going ahead to step 2:
The number 77 fits into 16 0 times, leaving a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Include the next digit (5) from the dividend after 16, then repeat: 165 / 77

Step 3:
If we divide 165 by 77, we get 2 and a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 154 from 165 leaves us with 11.
Include the next digit (3) from the dividend after 11, then repeat: 113 / 77

On to step 4:
The number 77 fits into 113 1 times, leaving a remainder of 36.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtracting 77 from 113 leaves us with 36.
Bring next digit (9) of the dividend behind the 36 and repeat the process: 369 / 77

Going ahead to step 5:
369 divided by 77 is 4 with a remainder of 61.
The number 4 becomes the next digit in our result. 
Result so far: 214.0
If we take 308 away from 369, we end up with 61.
Take the next digit (0) from the dividend and append it to 61, then repeat: 610 / 77

Moving on to step 6:
When dividing 610 by 77, we get 7 with a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 2147.0
The remainder is 71 after subtracting 539 from 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 7:
When dividing 710 by 77, we get 9 with a remainder of 17.
Write down 9 as next digit of the result. 
Result so far: 2147.9
Subtracting 693 from 710 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 8:
77 goes into 170 2 times with a remainder of 16.
The next digit of our result is 2. 
Result so far: 2147.92
Subtract 154 from 170 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
160 divided by 77 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 2147.922
Subtract 154 from 160 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 2147.922, with a leftover of 0.0006.