We look at the division of 12162134 by 87 
The aim is to understand the frequency of 87 in 12162134.

On to step 1:
If we divide 1 by 87, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 87

On to step 2:
87 can be fit into 12 0 times, resulting in a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 87

Let's proceed to step 3:
The number 87 fits into 121 1 times, leaving a remainder of 34.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 87 from 121, we get 34.
Grab the next digit (6) from the dividend, add it to 34, then carry on: 346 / 87

Moving on to step 4:
87 goes into 346 3 times with a remainder of 85.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 261 from 346, we get 85.
Append the next digit (2) from the dividend to 85 and continue with: 852 / 87

Let's proceed to step 5:
852 divided by 87 is 9 with a remainder of 69.
Record the quotient 9 as the next digit in the result. 
Result so far: 139.0
Subtract 783 from 852 to get 69.
Include the next digit (1) from the dividend after 69, then repeat: 691 / 87

On to step 6:
87 can be fit into 691 7 times, resulting in a remainder of 82.
Put 7 as the next digit of the answer. 
Result so far: 1397.0
The remainder is 82 after subtracting 609 from 691.
Bring next digit (3) of the dividend behind the 82 and repeat the process: 823 / 87

Moving on to step 7:
823 divided by 87 is 9 with a remainder of 40.
Write down 9 as next digit of the result. 
Result so far: 13979.0
Subtracting 783 from 823 leaves us with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 87

Step 8:
When dividing 404 by 87, we get 4 with a remainder of 56.
The number 4 becomes the next digit in our result. 
Result so far: 139794.0
Deduct 348 from 404 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 9:
If we divide 560 by 87, we get 6 and a remainder of 38.
Use 6 as the next digit of our solution. 
Result so far: 139794.6
Subtracting 522 from 560 leaves us 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.

Step 10:
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: 139794.64
Subtract 348 from 380 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 11:
If we divide 320 by 87, we get 3 and a remainder of 59.
The number 3 becomes the next digit in our result. 
Result so far: 139794.643
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.

Advancing to step 12:
If we divide 590 by 87, we get 6 and a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 139794.6436
The remainder is 68 after subtracting 522 from 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 13:
680 divided by 87 is 7 with a remainder of 71.
Put 7 as the next digit of the answer. 
Result so far: 139794.64367
The remainder is 71 after subtracting 609 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 14:
87 can be fit into 710 8 times, resulting in a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 139794.643678
If we subtract 696 from 710, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 15:
If we divide 140 by 87, we get 1 and a remainder of 53.
The number 1 becomes the next digit in our result. 
Result so far: 139794.6436781
If we take 87 away from 140, we end up with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Step 16:
87 can be fit into 530 6 times, resulting in a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 139794.64367816
Subtract 522 from 530 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 139794.64367816, with a leftover of 8e-09.