We're dividing 21821518 by 987 
The aim is to understand the frequency of 987 in 21821518.

Moving on to step 1:
The number 987 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 987

Going ahead to step 2:
The number 987 fits into 21 0 times, leaving a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Bring next digit (8) of the dividend behind the 21 and repeat the process: 218 / 987

Going ahead to step 3:
987 goes into 218 0 times with a remainder of 218.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 218 and we're left with 218.
Append the next digit (2) from the dividend to 218 and continue with: 2182 / 987

Let's proceed to step 4:
987 can be fit into 2182 2 times, resulting in a remainder of 208.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 1974 from 2182 to get 208.
Fetch the next digit (1) from the dividend, attach it to 208 and continue: 2081 / 987

On to step 5:
If we divide 2081 by 987, we get 2 and a remainder of 107.
Write down 2 as next digit of the result. 
Result so far: 22.0
Subtracting 1974 from 2081 leaves us with 107.
Take the next digit (5) from the dividend and append it to 107, then repeat: 1075 / 987

On to step 6:
1075 divided by 987 is 1 with a remainder of 88.
Write down 1 as next digit of the result. 
Result so far: 221.0
Subtracting 987 from 1075 leaves us with 88.
Take the next digit (1) from the dividend and append it to 88, then repeat: 881 / 987

Going ahead to step 7:
When dividing 881 by 987, we get 0 with a remainder of 881.
Put 0 as the next digit of the answer. 
Result so far: 2210.0
Deduct 0 from 881 and we're left with 881.
Grab the next digit (8) from the dividend, add it to 881, then carry on: 8818 / 987

Moving on to step 8:
The number 987 fits into 8818 8 times, leaving a remainder of 922.
The number 8 becomes the next digit in our result. 
Result so far: 22108.0
Subtract 7896 from 8818 to get 922.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9220, and continue the process.

Moving on to step 9:
If we divide 9220 by 987, we get 9 and a remainder of 337.
Write down 9 as next digit of the result. 
Result so far: 22108.9
If we subtract 8883 from 9220, we get 337.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3370, and continue the process.

Advancing to step 10:
If we divide 3370 by 987, we get 3 and a remainder of 409.
Use 3 as the next digit of our solution. 
Result so far: 22108.93
Subtracting 2961 from 3370 leaves us with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Let's proceed to step 11:
If we divide 4090 by 987, we get 4 and a remainder of 142.
Put 4 as the next digit of the answer. 
Result so far: 22108.934
If we take 3948 away from 4090, we end up with 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

On to step 12:
If we divide 1420 by 987, we get 1 and a remainder of 433.
The number 1 becomes the next digit in our result. 
Result so far: 22108.9341
Subtracting 987 from 1420 leaves us with 433.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4330, and continue the process.

Step 13:
4330 divided by 987 is 4 with a remainder of 382.
Record the quotient 4 as the next digit in the result. 
Result so far: 22108.93414
If we take 3948 away from 4330, we end up with 382.
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 14:
987 goes into 3820 3 times with a remainder of 859.
The number 3 becomes the next digit in our result. 
Result so far: 22108.934143
The remainder is 859 after subtracting 2961 from 3820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8590, and continue the process.

Moving on to step 15:
The number 987 fits into 8590 8 times, leaving a remainder of 694.
The number 8 becomes the next digit in our result. 
Result so far: 22108.9341438
Subtracting 7896 from 8590 leaves us with 694.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6940, and continue the process.

Going ahead to step 16:
987 goes into 6940 7 times with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 22108.93414387
If we subtract 6909 from 6940, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final result is 22108.93414387 with a remainder of 3.1e-08.