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

Moving on to step 1:
When dividing 3 by 87, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 87

Step 2:
87 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 87

Let's proceed to step 3:
When dividing 399 by 87, we get 4 with a remainder of 51.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 348 from 399 leaves us with 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 87

Let's proceed to step 4:
When dividing 512 by 87, we get 5 with a remainder of 77.
Write down 5 as next digit of the result. 
Result so far: 45.0
If we subtract 435 from 512, we get 77.
Bring next digit (4) of the dividend behind the 77 and repeat the process: 774 / 87

Moving on to step 5:
774 divided by 87 is 8 with a remainder of 78.
Use 8 as the next digit of our solution. 
Result so far: 458.0
Subtracting 696 from 774 leaves us with 78.
Append the next digit (8) from the dividend to 78 and continue with: 788 / 87

On to step 6:
When dividing 788 by 87, we get 9 with a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 4589.0
If we subtract 783 from 788, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
50 divided by 87 is 0 with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 4589.0
Subtracting 0 from 50 leaves us 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 8:
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: 4589.05
The remainder is 65 after subtracting 435 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

On to step 9:
When dividing 650 by 87, we get 7 with a remainder of 41.
Record the quotient 7 as the next digit in the result. 
Result so far: 4589.057
Deduct 609 from 650 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 10:
87 can be fit into 410 4 times, resulting in a remainder of 62.
The next digit of our result is 4. 
Result so far: 4589.0574
The remainder is 62 after subtracting 348 from 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 11:
87 goes into 620 7 times with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 4589.05747
Subtract 609 from 620 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 12:
110 divided by 87 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 4589.057471
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.

Let's proceed to step 13:
The number 87 fits into 230 2 times, leaving a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 4589.0574712
If we take 174 away from 230, we end up 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.

On to step 14:
87 goes into 560 6 times with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 4589.05747126
If we subtract 522 from 560, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

In conclusion, the division gives 4589.05747126 with a balance of 3.8e-08.