Let's divide 171865 by 77
We're looking to find how many times 77 goes into 171865.

Moving on to step 1:
1 divided by 77 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 77

Moving on to step 2:
77 goes into 17 0 times with a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Bring next digit (1) of the dividend behind the 17 and repeat the process: 171 / 77

On to step 3:
When dividing 171 by 77, we get 2 with a remainder of 17.
The next digit of our result is 2. 
Result so far: 2.0
If we take 154 away from 171, we end up with 17.
Bring next digit (8) of the dividend behind the 17 and repeat the process: 178 / 77

Going ahead to step 4:
77 goes into 178 2 times with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Subtract 154 from 178 to get 24.
Bring next digit (6) of the dividend behind the 24 and repeat the process: 246 / 77

Going ahead to step 5:
When dividing 246 by 77, we get 3 with a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 223.0
Subtracting 231 from 246 leaves us with 15.
Append the next digit (5) from the dividend to 15 and continue with: 155 / 77

Step 6:
If we divide 155 by 77, we get 2 and a remainder of 1.
The next digit of our result is 2. 
Result so far: 2232.0
Subtracting 154 from 155 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
If we divide 10 by 77, we get 0 and a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 2232.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
When dividing 100 by 77, we get 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 2232.01
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.

On to step 9:
When dividing 230 by 77, we get 2 with a remainder of 76.
The number 2 becomes the next digit in our result. 
Result so far: 2232.012
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.

On to step 10:
77 goes into 760 9 times with a remainder of 67.
Write down 9 as next digit of the result. 
Result so far: 2232.0129
If we take 693 away from 760, we end up with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

On to step 11:
When dividing 670 by 77, we get 8 with a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 2232.01298
Subtracting 616 from 670 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 12:
77 goes into 540 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 2232.012987
If we take 539 away from 540, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 13:
If we divide 10 by 77, we get 0 and a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 2232.012987
If we take 0 away from 10, we end up 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.

Moving on to step 14:
When dividing 100 by 77, we get 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 2232.01298701
Subtract 77 from 100 to 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.

In conclusion, the division gives 2232.01298701 with a balance of 2.3e-08.