31540739 divided by 987 
The aim is to understand the frequency of 987 in 31540739.

Let's proceed to step 1:
When dividing 3 by 987, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 987

Advancing to step 2:
The number 987 fits into 31 0 times, leaving a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Fetch the next digit (5) from the dividend, attach it to 31 and continue: 315 / 987

On to step 3:
When dividing 315 by 987, we get 0 with a remainder of 315.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 315, we get 315.
Bring next digit (4) of the dividend behind the 315 and repeat the process: 3154 / 987

Moving on to step 4:
3154 divided by 987 is 3 with a remainder of 193.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 2961 from 3154 leaves us with 193.
Fetch the next digit (0) from the dividend, attach it to 193 and continue: 1930 / 987

Advancing to step 5:
The number 987 fits into 1930 1 times, leaving a remainder of 943.
Use 1 as the next digit of our solution. 
Result so far: 31.0
If we take 987 away from 1930, we end up with 943.
Append the next digit (7) from the dividend to 943 and continue with: 9437 / 987

Let's proceed to step 6:
When dividing 9437 by 987, we get 9 with a remainder of 554.
The number 9 becomes the next digit in our result. 
Result so far: 319.0
If we take 8883 away from 9437, we end up with 554.
Fetch the next digit (3) from the dividend, attach it to 554 and continue: 5543 / 987

Advancing to step 7:
The number 987 fits into 5543 5 times, leaving a remainder of 608.
Write down 5 as next digit of the result. 
Result so far: 3195.0
Subtracting 4935 from 5543 leaves us with 608.
Take the next digit (9) from the dividend and append it to 608, then repeat: 6089 / 987

On to step 8:
6089 divided by 987 is 6 with a remainder of 167.
Use 6 as the next digit of our solution. 
Result so far: 31956.0
The remainder is 167 after subtracting 5922 from 6089.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Let's proceed to step 9:
If we divide 1670 by 987, we get 1 and a remainder of 683.
Record the quotient 1 as the next digit in the result. 
Result so far: 31956.1
Subtracting 987 from 1670 leaves us with 683.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6830, and continue the process.

Advancing to step 10:
When dividing 6830 by 987, we get 6 with a remainder of 908.
Record the quotient 6 as the next digit in the result. 
Result so far: 31956.16
The remainder is 908 after subtracting 5922 from 6830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9080, and continue the process.

Moving on to step 11:
The number 987 fits into 9080 9 times, leaving a remainder of 197.
Write down 9 as next digit of the result. 
Result so far: 31956.169
If we subtract 8883 from 9080, we get 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Step 12:
When dividing 1970 by 987, we get 1 with a remainder of 983.
Put 1 as the next digit of the answer. 
Result so far: 31956.1691
If we subtract 987 from 1970, we get 983.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9830, and continue the process.

Let's proceed to step 13:
If we divide 9830 by 987, we get 9 and a remainder of 947.
The number 9 becomes the next digit in our result. 
Result so far: 31956.16919
Subtracting 8883 from 9830 leaves us with 947.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9470, and continue the process.

Advancing to step 14:
If we divide 9470 by 987, we get 9 and a remainder of 587.
Write down 9 as next digit of the result. 
Result so far: 31956.169199
If we subtract 8883 from 9470, we get 587.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5870, and continue the process.

After the division, we end up with 31956.169199 and a remainder of 5.87e-05.