We look at the division of 39956607 by 395 
The aim is to understand the frequency of 395 in 39956607.

On to step 1:
If we divide 3 by 395, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 395

Let's proceed to step 2:
If we divide 39 by 395, we get 0 and a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Bring next digit (9) of the dividend behind the 39 and repeat the process: 399 / 395

Step 3:
399 divided by 395 is 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 395 away from 399, we end up with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 395

On to step 4:
When dividing 45 by 395, we get 0 with a remainder of 45.
The next digit of our result is 0. 
Result so far: 10.0
If we take 0 away from 45, we end up with 45.
Include the next digit (6) from the dividend after 45, then repeat: 456 / 395

Let's proceed to step 5:
395 goes into 456 1 times with a remainder of 61.
Write down 1 as next digit of the result. 
Result so far: 101.0
Subtract 395 from 456 to get 61.
Grab the next digit (6) from the dividend, add it to 61, then carry on: 616 / 395

Moving on to step 6:
395 can be fit into 616 1 times, resulting in a remainder of 221.
Put 1 as the next digit of the answer. 
Result so far: 1011.0
Subtract 395 from 616 to get 221.
Bring next digit (0) of the dividend behind the 221 and repeat the process: 2210 / 395

Moving on to step 7:
395 goes into 2210 5 times with a remainder of 235.
The next digit of our result is 5. 
Result so far: 10115.0
Subtract 1975 from 2210 to get 235.
Take the next digit (7) from the dividend and append it to 235, then repeat: 2357 / 395

Advancing to step 8:
2357 divided by 395 is 5 with a remainder of 382.
Record the quotient 5 as the next digit in the result. 
Result so far: 101155.0
The remainder is 382 after subtracting 1975 from 2357.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

On to step 9:
395 goes into 3820 9 times with a remainder of 265.
Record the quotient 9 as the next digit in the result. 
Result so far: 101155.9
Subtracting 3555 from 3820 leaves us with 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

Going ahead to step 10:
395 goes into 2650 6 times with a remainder of 280.
The next digit of our result is 6. 
Result so far: 101155.96
If we subtract 2370 from 2650, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 11:
When dividing 2800 by 395, we get 7 with a remainder of 35.
The number 7 becomes the next digit in our result. 
Result so far: 101155.967
If we subtract 2765 from 2800, we get 35.
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 12:
The number 395 fits into 350 0 times, leaving a remainder of 350.
Use 0 as the next digit of our solution. 
Result so far: 101155.967
Deduct 0 from 350 and we're left 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.

Step 13:
When dividing 3500 by 395, we get 8 with a remainder of 340.
The next digit of our result is 8. 
Result so far: 101155.96708
Subtracting 3160 from 3500 leaves us 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.

Moving on to step 14:
395 can be fit into 3400 8 times, resulting in a remainder of 240.
Put 8 as the next digit of the answer. 
Result so far: 101155.967088
Deduct 3160 from 3400 and we're left with 240.
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 result is 101155.967088 with a remainder of 2.4e-05.