We look at the division of 787161 by 87 
Let's see how many times 87 fits into 787161.

Moving on to step 1:
7 divided by 87 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 87

Step 2:
When dividing 78 by 87, we get 0 with a remainder of 78.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 78 leaves us with 78.
Bring next digit (7) of the dividend behind the 78 and repeat the process: 787 / 87

On to step 3:
When dividing 787 by 87, we get 9 with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we subtract 783 from 787, we get 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 87

Let's proceed to step 4:
If we divide 41 by 87, we get 0 and a remainder of 41.
Record the quotient 0 as the next digit in the result. 
Result so far: 90.0
The remainder is 41 after subtracting 0 from 41.
Append the next digit (6) from the dividend to 41 and continue with: 416 / 87

Going ahead to step 5:
416 divided by 87 is 4 with a remainder of 68.
Use 4 as the next digit of our solution. 
Result so far: 904.0
Subtract 348 from 416 to get 68.
Append the next digit (1) from the dividend to 68 and continue with: 681 / 87

Advancing to step 6:
The number 87 fits into 681 7 times, leaving a remainder of 72.
Use 7 as the next digit of our solution. 
Result so far: 9047.0
If we take 609 away from 681, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 7:
720 divided by 87 is 8 with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 9047.8
Subtracting 696 from 720 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 8:
If we divide 240 by 87, we get 2 and a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 9047.82
The remainder is 66 after subtracting 174 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 9:
87 goes into 660 7 times with a remainder of 51.
Use 7 as the next digit of our solution. 
Result so far: 9047.827
Subtracting 609 from 660 leaves us with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Let's proceed to step 10:
The number 87 fits into 510 5 times, leaving a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 9047.8275
Subtract 435 from 510 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Going ahead to step 11:
If we divide 750 by 87, we get 8 and a remainder of 54.
Write down 8 as next digit of the result. 
Result so far: 9047.82758
Deduct 696 from 750 and we're left 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.

Advancing to step 12:
If we divide 540 by 87, we get 6 and a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 9047.827586
Deduct 522 from 540 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
The number 87 fits into 180 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 9047.8275862
Subtracting 174 from 180 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 14:
87 goes into 60 0 times with a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 9047.8275862
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Our division results in 9047.8275862 with a remaining 6e-08.