Solveeit Logo

Question

Question: How many numbers from \[1\] to \[10000\], inclusive, are multiple of exactly one of the numbers \[3,...

How many numbers from 11 to 1000010000, inclusive, are multiple of exactly one of the numbers 3,53,5 or 77? For example,2828 is such a number since it is a multiple of 77 and not of 33 and 77 but 4242 is not such a number, since it is a multiple of both33 and 77.

Explanation

Solution

In order to determine the numbers of terms from 11 to1000010000. The sequence of integers starting from 11 to 1000010000 is given by 1,2,3,4,.....,100001,2,3,4,.....,10000. There are 1000 terms in the above sequence. The first and last terms are 11 and 1000010000 respectively and the common difference is 11. 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 nn terms from this formula for the arithmetic sequence tn=a+(n1)d{t_n} = a + (n - 1)d.

Complete step by step solution:
We are given the numbers from 11 to 1000010000 that are multiple of exactly one of the numbers 3,53,5 or 77.
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 aa is the first term of a finite AP{\rm A} \cdot {\rm P} and dd is a common difference, then AP{\rm A} \cdot {\rm P} is written as a,a+d,a+2d,a+(n1)da,a + d,a + 2d \ldots \ldots \ldots ,a + \left( {n - 1} \right)d
We take inclusive of the numbers from 11 to 1000010000 be multiplied by 33 only. So we get
3,6,9................99993,6,9................9999
We can calculate the total number of terms by the formula, tn=a+(n1)d{t_n} = a + (n - 1)d
Where, aa is the first term and tn{t_n} be the last term and ddis a common difference.
9999=3+(n1)39999 = 3 + (n - 1)3 .since tn=9999,a=3,d=3{t_n} = 9999,a = 3,d = 3
Expand the term into LHS, we can get

999933=n1 99963=n1  \dfrac{{9999 - 3}}{3} = n - 1 \\\ \dfrac{{9996}}{3} = n - 1 \\\

Simplify and finding the total number multiplied by 33 only

3332+1=n n=3333(1)  3332 + 1 = n \\\ n = 3333 \to (1) \\\

We take inclusive of the numbers from 11 to 1000010000 be multiplied by 55 only. So we get
5,10,................100005,10,................10000
We can calculate the arithmetic series of terms, tn=a+(n1)d{t_n} = a + (n - 1)d. Where, aa is the first term and tn{t_n} be the last term and dd is a common difference
10000=5+(n1)510000 = 5 + (n - 1)5.tn=10000,a=5,d=5{t_n} = 10000,a = 5,d = 5
Expand the term into LHS, we can get

1000055=n1 99955=n1 1999+1=n n=2000(2)  \dfrac{{10000 - 5}}{5} = n - 1 \\\ \dfrac{{9995}}{5} = n - 1 \\\ 1999 + 1 = n \\\ n = 2000 \to (2) \\\

Simplify and finding the total number multiplied by 55 only
We take inclusive of the numbers from 11 to 1000010000 be multiplied by 77 only. So we get
7,14,21................99967,14,21................9996
We can calculate the arithmetic series of terms, tn=a+(n1)d{t_n} = a + (n - 1)d .Where, a=7a = 7 is the first term and tn=9996{t_n} = 9996 be the last term and d=7d = 7is a common difference
9996=7+(n1)79996 = 7 + (n - 1)7
Expand the term into LHS, we can get

999677=n1 99897=n1  \dfrac{{9996 - 7}}{7} = n - 1 \\\ \dfrac{{9989}}{7} = n - 1 \\\ 1427+1=n n=1428(3)  1427 + 1 = n \\\ n = 1428 \to (3) \\\

We take inclusive of the numbers from 11 to 1000010000 be multiplied by 3&53\& 5only.
Take LCM of 5&35\& 3 is 1515
15,30,................999015,30,................9990
We can calculate the arithmetic series of terms, tn=a+(n1)d{t_n} = a + (n - 1)d. Where, a=15a = 15 is the first term and tn=9990{t_n} = 9990 be the last term and d=15d = 15 is a common difference
9990=15+(n1)159990 = 15 + (n - 1)15
Expand the term into LHS, we can get

99901515=(n1) 997515=(n1)  \dfrac{{9990 - 15}}{{15}} = (n - 1) \\\ \dfrac{{9975}}{{15}} = (n - 1) \\\ 665+1=n n=666(5)  665 + 1 = n \\\ n = 666 \to (5) \\\

\Rightarrow We take inclusive of the numbers from 11to1000010000 be multiplied by 5&75\& 7only. We can get,
Take LCM of 5&75\& 7 is 3535
35,70,................997535,70,................9975
We can calculate the arithmetic series of terms, tn=a+(n1)d{t_n} = a + (n - 1)d .Where, a=35a = 35 is the first term and tn=9975{t_n} = 9975 be the last term and d=35d = 35 is a common difference
9975=35+(n1)359975 = 35 + (n - 1)35
Expand the term into LHS, we can get

99753535=(n1) 994035=(n1)  \dfrac{{9975 - 35}}{{35}} = (n - 1) \\\ \dfrac{{9940}}{{35}} = (n - 1) \\\ 284+1=n n=285(6)  284 + 1 = n \\\ n = 285 \to (6) \\\

We take inclusive of the numbers from 11 to 1000010000 be multiplied by 7&37\& 3 only. We can get
Take LCM of 3&73\& 7 is 2121
21,42,................999621,42,................9996
We can calculate the arithmetic series of terms, tn=a+(n1)d{t_n} = a + (n - 1)d. Where, a=21a = 21 is the first term and tn=9996{t_n} = 9996 be the last term and d=21d = 21is a common difference
9996=21+(n1)219996 = 21 + (n - 1)21
Expand the term into LHS, we can get

99962121=(n1) 997521=(n1)  \dfrac{{9996 - 21}}{{21}} = (n - 1) \\\ \dfrac{{9975}}{{21}} = (n - 1) \\\ 475+1=n n=476(6)  475 + 1 = n \\\ n = 476 \to (6) \\\

\Rightarrow We take inclusive of the numbers from 11 to 1000010000 be multiplied by 3,7,53,7,5 only. We can get
Take LCM of 3,5,73,5,7 is 105105
105,210,................9975105,210,................9975
We can calculate the arithmetic series of terms, tn=a+(n1)d{t_n} = a + (n - 1)d .Where, a=105a = 105 is the first term and tn=9975{t_n} = 9975 be the last term and d=105d = 105 is a common difference
9975=105+(n1)1059975 = 105 + (n - 1)105
Expand the term into LHS, we can get

9996105105=(n1) 9870105=(n1)  \dfrac{{9996 - 105}}{{105}} = (n - 1) \\\ \dfrac{{9870}}{{105}} = (n - 1) \\\ 94+1=n n=95(7)  94 + 1 = n \\\ n = 95 \to (7) \\\

Now, we have to calculate the total number that is only multiplied by 3,5,73,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)(1),(2),(3) but subtract (4),(5),(6)(4),(5),(6) and (7)(7), we get

(1)+(2)+(3)(4)(5)(6)(7) 3333+1428+200066628547695=5239  \Rightarrow (1) + (2) + (3) - (4) - (5) - (6) - (7) \\\ \Rightarrow 3333 + 1428 + 2000 - 666 - 285 - 476 - 95 = 5239 \\\

Therefore, 52395239 is the numbers from 11 to 1000010000, inclusive are multiples of exactly one of the numbers 3,53,5 or 77.

Note:
We note that the first and last term of the arithmetic sequence can be calculated from the number 11 to 1000010000. The arithmetic sequence formula is tn=a+(n1)d{t_n} = a + (n - 1)d. Finally we get the nn terms of the given problem. Then we perform the summation of all values then find the appropriate number.