We look at the division of 34950638 by 987 
The aim is to understand the frequency of 987 in 34950638.

Advancing to step 1:
987 can be fit into 3 0 times, resulting in 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.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 987

Advancing to step 2:
When dividing 34 by 987, we get 0 with a remainder of 34.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Grab the next digit (9) from the dividend, add it to 34, then carry on: 349 / 987

Going ahead to step 3:
987 goes into 349 0 times with a remainder of 349.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 349 and we're left with 349.
Include the next digit (5) from the dividend after 349, then repeat: 3495 / 987

Moving on to step 4:
If we divide 3495 by 987, we get 3 and a remainder of 534.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 2961 from 3495 leaves us with 534.
Append the next digit (0) from the dividend to 534 and continue with: 5340 / 987

Let's proceed to step 5:
987 can be fit into 5340 5 times, resulting in a remainder of 405.
The next digit of our result is 5. 
Result so far: 35.0
Deduct 4935 from 5340 and we're left with 405.
Include the next digit (6) from the dividend after 405, then repeat: 4056 / 987

Advancing to step 6:
987 can be fit into 4056 4 times, resulting in a remainder of 108.
The next digit of our result is 4. 
Result so far: 354.0
Subtract 3948 from 4056 to get 108.
Include the next digit (3) from the dividend after 108, then repeat: 1083 / 987

Step 7:
1083 divided by 987 is 1 with a remainder of 96.
Record the quotient 1 as the next digit in the result. 
Result so far: 3541.0
Deduct 987 from 1083 and we're left with 96.
Grab the next digit (8) from the dividend, add it to 96, then carry on: 968 / 987

On to step 8:
The number 987 fits into 968 0 times, leaving a remainder of 968.
The number 0 becomes the next digit in our result. 
Result so far: 35410.0
Subtract 0 from 968 to get 968.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9680, and continue the process.

On to step 9:
9680 divided by 987 is 9 with a remainder of 797.
Write down 9 as next digit of the result. 
Result so far: 35410.9
Subtracting 8883 from 9680 leaves us with 797.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7970, and continue the process.

On to step 10:
When dividing 7970 by 987, we get 8 with a remainder of 74.
The next digit of our result is 8. 
Result so far: 35410.98
Deduct 7896 from 7970 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 11:
If we divide 740 by 987, we get 0 and a remainder of 740.
Put 0 as the next digit of the answer. 
Result so far: 35410.98
The remainder is 740 after subtracting 0 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

Advancing to step 12:
If we divide 7400 by 987, we get 7 and a remainder of 491.
The number 7 becomes the next digit in our result. 
Result so far: 35410.9807
If we subtract 6909 from 7400, we get 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4910, and continue the process.

On to step 13:
The number 987 fits into 4910 4 times, leaving a remainder of 962.
Record the quotient 4 as the next digit in the result. 
Result so far: 35410.98074
The remainder is 962 after subtracting 3948 from 4910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9620, and continue the process.

Let's proceed to step 14:
9620 divided by 987 is 9 with a remainder of 737.
Use 9 as the next digit of our solution. 
Result so far: 35410.980749
Deduct 8883 from 9620 and we're left with 737.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7370, and continue the process.

Let's proceed to step 15:
When dividing 7370 by 987, we get 7 with a remainder of 461.
Put 7 as the next digit of the answer. 
Result so far: 35410.9807497
The remainder is 461 after subtracting 6909 from 7370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4610, and continue the process.

Going ahead to step 16:
The number 987 fits into 4610 4 times, leaving a remainder of 662.
Use 4 as the next digit of our solution. 
Result so far: 35410.98074974
Subtract 3948 from 4610 to get 662.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6620, and continue the process.

The final outcome is 35410.98074974, with a leftover of 6.62e-07.