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

Let's proceed to step 1:
If we divide 2 by 87, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 87

Let's proceed to step 2:
The number 87 fits into 26 0 times, leaving a remainder of 26.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 26 after subtracting 0 from 26.
Fetch the next digit (5) from the dividend, attach it to 26 and continue: 265 / 87

Let's proceed to step 3:
87 goes into 265 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 261 from 265 leaves us with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 87

Going ahead to step 4:
47 divided by 87 is 0 with a remainder of 47.
Write down 0 as next digit of the result. 
Result so far: 30.0
If we subtract 0 from 47, we get 47.
Bring next digit (3) of the dividend behind the 47 and repeat the process: 473 / 87

Going ahead to step 5:
87 goes into 473 5 times with a remainder of 38.
Write down 5 as next digit of the result. 
Result so far: 305.0
Deduct 435 from 473 and we're left with 38.
Fetch the next digit (1) from the dividend, attach it to 38 and continue: 381 / 87

Step 6:
381 divided by 87 is 4 with a remainder of 33.
Write down 4 as next digit of the result. 
Result so far: 3054.0
Subtract 348 from 381 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 7:
When dividing 330 by 87, we get 3 with a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 3054.3
If we subtract 261 from 330, we get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 8:
87 can be fit into 690 7 times, resulting in a remainder of 81.
Use 7 as the next digit of our solution. 
Result so far: 3054.37
The remainder is 81 after subtracting 609 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Going ahead to step 9:
87 goes into 810 9 times with a remainder of 27.
The next digit of our result is 9. 
Result so far: 3054.379
Deduct 783 from 810 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 10:
87 goes into 270 3 times with a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 3054.3793
The remainder is 9 after subtracting 261 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
The number 87 fits into 90 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 3054.37931
If we take 87 away from 90, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 12:
If we divide 30 by 87, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 3054.37931
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 13:
The number 87 fits into 300 3 times, leaving a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 3054.3793103
The remainder is 39 after subtracting 261 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 14:
87 goes into 390 4 times with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 3054.37931034
Deduct 348 from 390 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

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