16785874 ÷ 771 
We're looking to find how many times 771 goes into 16785874.

Let's proceed to step 1:
1 divided by 771 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 771

On to step 2:
The number 771 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
Subtracting 0 from 16 leaves us with 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 771

Step 3:
771 goes into 167 0 times with a remainder of 167.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 167 after subtracting 0 from 167.
Include the next digit (8) from the dividend after 167, then repeat: 1678 / 771

Advancing to step 4:
When dividing 1678 by 771, we get 2 with a remainder of 136.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 1542 from 1678 to get 136.
Grab the next digit (5) from the dividend, add it to 136, then carry on: 1365 / 771

Let's proceed to step 5:
771 goes into 1365 1 times with a remainder of 594.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtracting 771 from 1365 leaves us with 594.
Include the next digit (8) from the dividend after 594, then repeat: 5948 / 771

Let's proceed to step 6:
The number 771 fits into 5948 7 times, leaving a remainder of 551.
Record the quotient 7 as the next digit in the result. 
Result so far: 217.0
Subtracting 5397 from 5948 leaves us with 551.
Fetch the next digit (7) from the dividend, attach it to 551 and continue: 5517 / 771

Advancing to step 7:
771 goes into 5517 7 times with a remainder of 120.
Write down 7 as next digit of the result. 
Result so far: 2177.0
If we subtract 5397 from 5517, we get 120.
Append the next digit (4) from the dividend to 120 and continue with: 1204 / 771

Step 8:
The number 771 fits into 1204 1 times, leaving a remainder of 433.
The next digit of our result is 1. 
Result so far: 21771.0
The remainder is 433 after subtracting 771 from 1204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4330, and continue the process.

On to step 9:
If we divide 4330 by 771, we get 5 and a remainder of 475.
Put 5 as the next digit of the answer. 
Result so far: 21771.5
If we take 3855 away from 4330, we end up with 475.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4750, and continue the process.

On to step 10:
The number 771 fits into 4750 6 times, leaving a remainder of 124.
Record the quotient 6 as the next digit in the result. 
Result so far: 21771.56
If we subtract 4626 from 4750, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 11:
If we divide 1240 by 771, we get 1 and a remainder of 469.
Use 1 as the next digit of our solution. 
Result so far: 21771.561
The remainder is 469 after subtracting 771 from 1240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4690, and continue the process.

Advancing to step 12:
When dividing 4690 by 771, we get 6 with a remainder of 64.
Write down 6 as next digit of the result. 
Result so far: 21771.5616
Subtract 4626 from 4690 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 13:
771 goes into 640 0 times with a remainder of 640.
The number 0 becomes the next digit in our result. 
Result so far: 21771.5616
Subtracting 0 from 640 leaves us with 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Step 14:
The number 771 fits into 6400 8 times, leaving a remainder of 232.
The next digit of our result is 8. 
Result so far: 21771.561608
The remainder is 232 after subtracting 6168 from 6400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Advancing to step 15:
The number 771 fits into 2320 3 times, leaving a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 21771.5616083
Subtract 2313 from 2320 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 16:
When dividing 70 by 771, we get 0 with a remainder of 70.
Use 0 as the next digit of our solution. 
Result so far: 21771.5616083
The remainder is 70 after subtracting 0 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

In conclusion, the division gives 21771.5616083 with a balance of 7e-08.