We divide 161787 by 77
We're looking to find how many times 77 goes into 161787.

Advancing to step 1:
If we divide 1 by 77, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 77

Moving on to step 2:
When dividing 16 by 77, we get 0 with 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 (1) from the dividend, attach it to 16 and continue: 161 / 77

Going ahead to step 3:
77 goes into 161 2 times with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 154 from 161 leaves us with 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 77

Going ahead to step 4:
77 can be fit into 77 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 21.0
If we subtract 77 from 77, we get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 77

Going ahead to step 5:
The number 77 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 210.0
Subtract 0 from 8 to get 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 77

Advancing to step 6:
87 divided by 77 is 1 with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 2101.0
Deduct 77 from 87 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 7:
100 divided by 77 is 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 2101.1
If we subtract 77 from 100, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 8:
230 divided by 77 is 2 with a remainder of 76.
Put 2 as the next digit of the answer. 
Result so far: 2101.12
The remainder is 76 after subtracting 154 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 9:
When dividing 760 by 77, we get 9 with a remainder of 67.
Use 9 as the next digit of our solution. 
Result so far: 2101.129
Subtract 693 from 760 to get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Moving on to step 10:
When dividing 670 by 77, we get 8 with a remainder of 54.
Write down 8 as next digit of the result. 
Result so far: 2101.1298
If we subtract 616 from 670, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 11:
When dividing 540 by 77, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 2101.12987
The remainder is 1 after subtracting 539 from 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 12:
10 divided by 77 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 2101.12987
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
100 divided by 77 is 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 2101.1298701
Deduct 77 from 100 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 14:
When dividing 230 by 77, we get 2 with a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 2101.12987012
Deduct 154 from 230 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The final result is 2101.12987012 with a remainder of 7.6e-08.