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

Moving on to step 1:
87 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 87

Moving on to step 2:
87 can be fit into 86 0 times, resulting in a remainder of 86.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 86, we get 86.
Grab the next digit (5) from the dividend, add it to 86, then carry on: 865 / 87

Let's proceed to step 3:
The number 87 fits into 865 9 times, leaving a remainder of 82.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 783 from 865 and we're left with 82.
Include the next digit (2) from the dividend after 82, then repeat: 822 / 87

On to step 4:
822 divided by 87 is 9 with a remainder of 39.
Use 9 as the next digit of our solution. 
Result so far: 99.0
If we subtract 783 from 822, we get 39.
Take the next digit (5) from the dividend and append it to 39, then repeat: 395 / 87

Going ahead to step 5:
When dividing 395 by 87, we get 4 with a remainder of 47.
Write down 4 as next digit of the result. 
Result so far: 994.0
The remainder is 47 after subtracting 348 from 395.
Fetch the next digit (1) from the dividend, attach it to 47 and continue: 471 / 87

Moving on to step 6:
When dividing 471 by 87, we get 5 with a remainder of 36.
Use 5 as the next digit of our solution. 
Result so far: 9945.0
If we take 435 away from 471, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 7:
The number 87 fits into 360 4 times, leaving a remainder of 12.
The next digit of our result is 4. 
Result so far: 9945.4
Deduct 348 from 360 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
When dividing 120 by 87, we get 1 with a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 9945.41
If we subtract 87 from 120, we 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.

Moving on to step 9:
87 goes into 330 3 times with a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 9945.413
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 10:
If we divide 690 by 87, we get 7 and a remainder of 81.
Put 7 as the next digit of the answer. 
Result so far: 9945.4137
Subtracting 609 from 690 leaves us with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Let's proceed to step 11:
The number 87 fits into 810 9 times, leaving a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 9945.41379
Subtract 783 from 810 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 12:
270 divided by 87 is 3 with a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 9945.413793
Deduct 261 from 270 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 13:
87 goes into 90 1 times with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 9945.4137931
Subtracting 87 from 90 leaves us 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.

Step 14:
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: 9945.4137931
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

In conclusion, the division gives 9945.4137931 with a balance of 3e-08.