87500040 ÷ 395 
The aim is to understand the frequency of 395 in 87500040.

Going ahead to step 1:
When dividing 8 by 395, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 395

Moving on to step 2:
395 goes into 87 0 times with a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 87, we end up with 87.
Grab the next digit (5) from the dividend, add it to 87, then carry on: 875 / 395

Let's proceed to step 3:
When dividing 875 by 395, we get 2 with a remainder of 85.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 790 from 875, we get 85.
Include the next digit (0) from the dividend after 85, then repeat: 850 / 395

Step 4:
If we divide 850 by 395, we get 2 and a remainder of 60.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
If we take 790 away from 850, we end up with 60.
Bring next digit (0) of the dividend behind the 60 and repeat the process: 600 / 395

Going ahead to step 5:
600 divided by 395 is 1 with a remainder of 205.
Use 1 as the next digit of our solution. 
Result so far: 221.0
If we subtract 395 from 600, we get 205.
Grab the next digit (0) from the dividend, add it to 205, then carry on: 2050 / 395

Let's proceed to step 6:
395 can be fit into 2050 5 times, resulting in a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 2215.0
Deduct 1975 from 2050 and we're left with 75.
Bring next digit (4) of the dividend behind the 75 and repeat the process: 754 / 395

Step 7:
754 divided by 395 is 1 with a remainder of 359.
Put 1 as the next digit of the answer. 
Result so far: 22151.0
If we subtract 395 from 754, we get 359.
Take the next digit (0) from the dividend and append it to 359, then repeat: 3590 / 395

Moving on to step 8:
The number 395 fits into 3590 9 times, leaving a remainder of 35.
The next digit of our result is 9. 
Result so far: 221519.0
The remainder is 35 after subtracting 3555 from 3590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 9:
The number 395 fits into 350 0 times, leaving a remainder of 350.
The next digit of our result is 0. 
Result so far: 221519.0
If we take 0 away from 350, we end up with 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Let's proceed to step 10:
395 goes into 3500 8 times with a remainder of 340.
Use 8 as the next digit of our solution. 
Result so far: 221519.08
Deduct 3160 from 3500 and we're left with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Let's proceed to step 11:
395 can be fit into 3400 8 times, resulting in a remainder of 240.
Record the quotient 8 as the next digit in the result. 
Result so far: 221519.088
The remainder is 240 after subtracting 3160 from 3400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

The final outcome is 221519.088, with a leftover of 0.024.