We look at the division of 30140984 by 387 
The aim is to understand the frequency of 387 in 30140984.

On to step 1:
387 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 387

Let's proceed to step 2:
The number 387 fits into 30 0 times, leaving a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Include the next digit (1) from the dividend after 30, then repeat: 301 / 387

Let's proceed to step 3:
301 divided by 387 is 0 with a remainder of 301.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 301, we get 301.
Bring next digit (4) of the dividend behind the 301 and repeat the process: 3014 / 387

On to step 4:
If we divide 3014 by 387, we get 7 and a remainder of 305.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Subtract 2709 from 3014 to get 305.
Include the next digit (0) from the dividend after 305, then repeat: 3050 / 387

On to step 5:
If we divide 3050 by 387, we get 7 and a remainder of 341.
Use 7 as the next digit of our solution. 
Result so far: 77.0
Deduct 2709 from 3050 and we're left with 341.
Append the next digit (9) from the dividend to 341 and continue with: 3419 / 387

Advancing to step 6:
If we divide 3419 by 387, we get 8 and a remainder of 323.
The next digit of our result is 8. 
Result so far: 778.0
Deduct 3096 from 3419 and we're left with 323.
Bring next digit (8) of the dividend behind the 323 and repeat the process: 3238 / 387

Moving on to step 7:
When dividing 3238 by 387, we get 8 with a remainder of 142.
Record the quotient 8 as the next digit in the result. 
Result so far: 7788.0
The remainder is 142 after subtracting 3096 from 3238.
Append the next digit (4) from the dividend to 142 and continue with: 1424 / 387

Step 8:
387 can be fit into 1424 3 times, resulting in a remainder of 263.
The number 3 becomes the next digit in our result. 
Result so far: 77883.0
Deduct 1161 from 1424 and we're left with 263.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2630, and continue the process.

On to step 9:
The number 387 fits into 2630 6 times, leaving a remainder of 308.
Put 6 as the next digit of the answer. 
Result so far: 77883.6
Subtracting 2322 from 2630 leaves us with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Step 10:
387 can be fit into 3080 7 times, resulting in a remainder of 371.
The number 7 becomes the next digit in our result. 
Result so far: 77883.67
Subtracting 2709 from 3080 leaves us with 371.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3710, and continue the process.

On to step 11:
387 can be fit into 3710 9 times, resulting in a remainder of 227.
The next digit of our result is 9. 
Result so far: 77883.679
Subtracting 3483 from 3710 leaves us with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

Moving on to step 12:
When dividing 2270 by 387, we get 5 with a remainder of 335.
Write down 5 as next digit of the result. 
Result so far: 77883.6795
Subtract 1935 from 2270 to get 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Going ahead to step 13:
When dividing 3350 by 387, we get 8 with a remainder of 254.
Record the quotient 8 as the next digit in the result. 
Result so far: 77883.67958
Subtracting 3096 from 3350 leaves us with 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

On to step 14:
387 can be fit into 2540 6 times, resulting in a remainder of 218.
Use 6 as the next digit of our solution. 
Result so far: 77883.679586
Deduct 2322 from 2540 and we're left with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Going ahead to step 15:
When dividing 2180 by 387, we get 5 with a remainder of 245.
Use 5 as the next digit of our solution. 
Result so far: 77883.6795865
The remainder is 245 after subtracting 1935 from 2180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Moving on to step 16:
387 can be fit into 2450 6 times, resulting in a remainder of 128.
Write down 6 as next digit of the result. 
Result so far: 77883.67958656
If we take 2322 away from 2450, we end up with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

The final result is 77883.67958656 with a remainder of 1.28e-07.