Question
Question: How many numbers from \[1\] to \[10000\], inclusive, are multiple of exactly one of the numbers \[3,...
How many numbers from 1 to 10000, inclusive, are multiple of exactly one of the numbers 3,5 or 7? For example,28 is such a number since it is a multiple of 7 and not of 3 and 7 but 42 is not such a number, since it is a multiple of both3 and 7.
Solution
In order to determine the numbers of terms from 1 to10000. The sequence of integers starting from 1 to 10000 is given by 1,2,3,4,.....,10000. There are 1000 terms in the above sequence. The first and last terms are 1 and 10000 respectively and the common difference is 1. Knowing the first and last term of an integer sequence, as well as the number of terms, we can calculate the sum of the first n terms from this formula for the arithmetic sequence tn=a+(n−1)d.
Complete step by step solution:
We are given the numbers from 1 to 10000 that are multiple of exactly one of the numbers 3,5 or 7.
If all the terms of a progression except the first one exceeds the preceding term by a fixed number, then the progression is called arithmetic progression. If a is the first term of a finite A⋅P and d is a common difference, then A⋅P is written as a,a+d,a+2d………,a+(n−1)d
We take inclusive of the numbers from 1 to 10000 be multiplied by 3 only. So we get
3,6,9................9999
We can calculate the total number of terms by the formula, tn=a+(n−1)d
Where, a is the first term and tn be the last term and dis a common difference.
9999=3+(n−1)3 .since tn=9999,a=3,d=3
Expand the term into LHS, we can get
Simplify and finding the total number multiplied by 3 only
3332+1=n n=3333→(1)We take inclusive of the numbers from 1 to 10000 be multiplied by 5 only. So we get
5,10,................10000
We can calculate the arithmetic series of terms, tn=a+(n−1)d. Where, a is the first term and tn be the last term and d is a common difference
10000=5+(n−1)5.tn=10000,a=5,d=5
Expand the term into LHS, we can get
Simplify and finding the total number multiplied by 5 only
We take inclusive of the numbers from 1 to 10000 be multiplied by 7 only. So we get
7,14,21................9996
We can calculate the arithmetic series of terms, tn=a+(n−1)d .Where, a=7 is the first term and tn=9996 be the last term and d=7is a common difference
9996=7+(n−1)7
Expand the term into LHS, we can get
We take inclusive of the numbers from 1 to 10000 be multiplied by 3&5only.
Take LCM of 5&3 is 15
15,30,................9990
We can calculate the arithmetic series of terms, tn=a+(n−1)d. Where, a=15 is the first term and tn=9990 be the last term and d=15 is a common difference
9990=15+(n−1)15
Expand the term into LHS, we can get
⇒ We take inclusive of the numbers from 1to10000 be multiplied by 5&7only. We can get,
Take LCM of 5&7 is 35
35,70,................9975
We can calculate the arithmetic series of terms, tn=a+(n−1)d .Where, a=35 is the first term and tn=9975 be the last term and d=35 is a common difference
9975=35+(n−1)35
Expand the term into LHS, we can get
We take inclusive of the numbers from 1 to 10000 be multiplied by 7&3 only. We can get
Take LCM of 3&7 is 21
21,42,................9996
We can calculate the arithmetic series of terms, tn=a+(n−1)d. Where, a=21 is the first term and tn=9996 be the last term and d=21is a common difference
9996=21+(n−1)21
Expand the term into LHS, we can get
⇒ We take inclusive of the numbers from 1 to 10000 be multiplied by 3,7,5 only. We can get
Take LCM of 3,5,7 is 105
105,210,................9975
We can calculate the arithmetic series of terms, tn=a+(n−1)d .Where, a=105 is the first term and tn=9975 be the last term and d=105 is a common difference
9975=105+(n−1)105
Expand the term into LHS, we can get
Now, we have to calculate the total number that is only multiplied by 3,5,7 . The remaining terms will be subtracted from this term as follows.
We can calculate the sum of the terms equation (1),(2),(3) but subtract (4),(5),(6) and (7), we get
Therefore, 5239 is the numbers from 1 to 10000, inclusive are multiples of exactly one of the numbers 3,5 or 7.
Note:
We note that the first and last term of the arithmetic sequence can be calculated from the number 1 to 10000. The arithmetic sequence formula is tn=a+(n−1)d. Finally we get the n terms of the given problem. Then we perform the summation of all values then find the appropriate number.