Let's divide 987776 by 87
The aim is to understand the frequency of 87 in 987776.

Going ahead to step 1:
When dividing 9 by 87, we get 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 87

Going ahead to step 2:
The number 87 fits into 98 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 11 after subtracting 87 from 98.
Grab the next digit (7) from the dividend, add it to 11, then carry on: 117 / 87

Step 3:
87 can be fit into 117 1 times, resulting in a remainder of 30.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we subtract 87 from 117, we get 30.
Include the next digit (7) from the dividend after 30, then repeat: 307 / 87

On to step 4:
When dividing 307 by 87, we get 3 with a remainder of 46.
Write down 3 as next digit of the result. 
Result so far: 113.0
Subtract 261 from 307 to get 46.
Append the next digit (7) from the dividend to 46 and continue with: 467 / 87

Going ahead to step 5:
467 divided by 87 is 5 with a remainder of 32.
Record the quotient 5 as the next digit in the result. 
Result so far: 1135.0
Deduct 435 from 467 and we're left with 32.
Bring next digit (6) of the dividend behind the 32 and repeat the process: 326 / 87

Going ahead to step 6:
When dividing 326 by 87, we get 3 with a remainder of 65.
The number 3 becomes the next digit in our result. 
Result so far: 11353.0
Deduct 261 from 326 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Step 7:
650 divided by 87 is 7 with a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 11353.7
The remainder is 41 after subtracting 609 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 8:
87 can be fit into 410 4 times, resulting in a remainder of 62.
The number 4 becomes the next digit in our result. 
Result so far: 11353.74
The remainder is 62 after subtracting 348 from 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 9:
If we divide 620 by 87, we get 7 and a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 11353.747
Subtracting 609 from 620 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 10:
110 divided by 87 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 11353.7471
Subtract 87 from 110 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.

On to step 11:
230 divided by 87 is 2 with a remainder of 56.
Write down 2 as next digit of the result. 
Result so far: 11353.74712
Subtract 174 from 230 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 12:
87 can be fit into 560 6 times, resulting in a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 11353.747126
Deduct 522 from 560 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 13:
87 goes into 380 4 times with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 11353.7471264
Subtracting 348 from 380 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 14:
If we divide 320 by 87, we get 3 and a remainder of 59.
Record the quotient 3 as the next digit in the result. 
Result so far: 11353.74712643
If we subtract 261 from 320, we get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

After the division, we end up with 11353.74712643 and a remainder of 5.9e-08.