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

Let's proceed to step 1:
When dividing 5 by 87, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (3) from the dividend to 5 and continue with: 53 / 87

Step 2:
The number 87 fits into 53 0 times, leaving a remainder of 53.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 53 and we're left with 53.
Append the next digit (1) from the dividend to 53 and continue with: 531 / 87

Advancing to step 3:
531 divided by 87 is 6 with a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we take 522 away from 531, we end up with 9.
Append the next digit (3) from the dividend to 9 and continue with: 93 / 87

Moving on to step 4:
93 divided by 87 is 1 with a remainder of 6.
The next digit of our result is 1. 
Result so far: 61.0
The remainder is 6 after subtracting 87 from 93.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 87

Let's proceed to step 5:
The number 87 fits into 61 0 times, leaving a remainder of 61.
Write down 0 as next digit of the result. 
Result so far: 610.0
If we subtract 0 from 61, we get 61.
Append the next digit (7) from the dividend to 61 and continue with: 617 / 87

On to step 6:
87 goes into 617 7 times with a remainder of 8.
The number 7 becomes the next digit in our result. 
Result so far: 6107.0
Deduct 609 from 617 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
When dividing 80 by 87, we get 0 with a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 6107.0
If we subtract 0 from 80, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 8:
87 can be fit into 800 9 times, resulting in a remainder of 17.
The number 9 becomes the next digit in our result. 
Result so far: 6107.09
If we subtract 783 from 800, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 9:
170 divided by 87 is 1 with a remainder of 83.
The next digit of our result is 1. 
Result so far: 6107.091
If we subtract 87 from 170, we get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 10:
830 divided by 87 is 9 with a remainder of 47.
The number 9 becomes the next digit in our result. 
Result so far: 6107.0919
If we subtract 783 from 830, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Step 11:
87 can be fit into 470 5 times, resulting in a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 6107.09195
Subtracting 435 from 470 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 12:
87 can be fit into 350 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 6107.091954
If we subtract 348 from 350, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
20 divided by 87 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 6107.091954
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
If we divide 200 by 87, we get 2 and a remainder of 26.
Write down 2 as next digit of the result. 
Result so far: 6107.09195402
Subtracting 174 from 200 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

In conclusion, the division gives 6107.09195402 with a balance of 2.6e-08.