We divide 523988 by 87
The aim is to understand the frequency of 87 in 523988.

Let's proceed to step 1:
5 divided by 87 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 87

Step 2:
87 goes into 52 0 times with a remainder of 52.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 52 and we're left with 52.
Append the next digit (3) from the dividend to 52 and continue with: 523 / 87

On to step 3:
523 divided by 87 is 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtract 522 from 523 to get 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 87

Going ahead to step 4:
The number 87 fits into 19 0 times, leaving a remainder of 19.
Write down 0 as next digit of the result. 
Result so far: 60.0
The remainder is 19 after subtracting 0 from 19.
Take the next digit (8) from the dividend and append it to 19, then repeat: 198 / 87

On to step 5:
If we divide 198 by 87, we get 2 and a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 602.0
Subtracting 174 from 198 leaves us with 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 87

Going ahead to step 6:
If we divide 248 by 87, we get 2 and a remainder of 74.
The next digit of our result is 2. 
Result so far: 6022.0
The remainder is 74 after subtracting 174 from 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 7:
When dividing 740 by 87, we get 8 with a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 6022.8
The remainder is 44 after subtracting 696 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

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

Let's proceed to step 9:
50 divided by 87 is 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 6022.85
Deduct 0 from 50 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 10:
The number 87 fits into 500 5 times, leaving a remainder of 65.
Use 5 as the next digit of our solution. 
Result so far: 6022.8505
If we subtract 435 from 500, we get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Moving on to step 11:
87 goes into 650 7 times with a remainder of 41.
The next digit of our result is 7. 
Result so far: 6022.85057
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.

Going ahead to step 12:
410 divided by 87 is 4 with a remainder of 62.
The next digit of our result is 4. 
Result so far: 6022.850574
Deduct 348 from 410 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 13:
When dividing 620 by 87, we get 7 with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 6022.8505747
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.

Moving on to step 14:
If we divide 110 by 87, we get 1 and a remainder of 23.
The next digit of our result is 1. 
Result so far: 6022.85057471
Subtracting 87 from 110 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

In conclusion, the division gives 6022.85057471 with a balance of 2.3e-08.