Find the number of triples of positive integers ( a , b , c ) , such that a b + a c + b c = 1 0 0 1 and a < b < c .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There seems to be no way to solve the problem without some case-by-case analysis. The key idea that enables one to do it by hand is the factorization ( a + b ) ( a + c ) = 1 0 0 1 + a 2 .
Common mistakes:
1) One can, of course, program a computer to do the brute-force search, but this defeats the purpose of the problem.
2) One has to find some upper bound on a. The way it is done in this solution is formally incorrect, one has to use some inequalities instead, but this "worst case scenario" argument is exactly how one should originally guess this bound.
From rearrangement inequality we know that ab+bc+ca will have the greatest value when a>b>c and least value when a<b<c now we can find the upper and lower bound from this condition. 3 a^2<ab+bc+ca<3 c^2 . Now from the given value of ab+bc+ca we can find the upper bound on a . 3 a^2<1001 , this reduces to a<19 which tells us, a can be from 1 to 18. Now if we put the value of a in the equation given we will have ( lets put 18 first ) 18b+18c+bc=1001 adding 18^2 at both sides we get (b+18)(c+18)=1001+18^2 , now 1001 +18^2 = 5^2 53 now in no way this number (1001+18^2) can be written as a product of two numbers which will yield such a value of b and c satisfying the given condition (a<b<c) . Similarly we can put a=17,16,15, up to 1 and can look for the values of b and c which satisfy the given condition. The solution triplets will be ( 1,2,333), (1,5,166), (2,13,65),(2,3,199),(3,7,98), (4,5,109),(5,14,49),(5,13,52),(5,22,23) ,(6,11,55), (7,23,28), (7,18,35),(7,8,63),(7,14,43), (11,22,23) ,(13,17,26 )
Consider the case a=1. Then bc+b+c=1001, so (b+1)(c+1)=1002=2 3 167. b>a=1, so b+1>2. Then b+1 can be 3 or 167. There are 2 solutions here.
If a=2, bc+2b+2c=1001, so (b+2)(c+2) = 1005=3 5 67. Since b>2, b+2>4, so b+2 can be 5 or 15. There are 2 solutions here.
Continuing on, we see that a=3 gives 1 solution, a=4 gives 1 solution, a=5 gives 3 solutions, a=6 gives 1 solution, a=7 gives 4 solutions, a=11 gives 1 solution, and a=13 gives 1 solution for 16 solutions. [When I originally did this I found 2 solutions for a=6, but somehow added wrong, giving the correct answer of 16 through an incorrect method. I reviewed my work and found the error in a=6.]
(1,2,333) (1,5,166)
(2,3,199) (2,13,65)
(3,7,98)
(4,5,109)
(5,13,52) (5,14,49) (5,22,33)
(6,11,55)
(7,8,63) (7,14,43) (7,18,35) (7,23,28)
(11,22,23)
(13,17,26) 16 triples of positive integers (a,b,c)
I use ( b + a ) ( c + a ) = 1 0 0 1 + a 2 And take a=1,2,3,4,5,6,...,17 because a<b<c.
Can you give me more details as to why we must check for cases a=1,2,3, . . . 17.
Log in to reply
As a is the minimum value of the triple, we discover that the maximum value of a is 1 7 because a ( a + 1 ) + a ( a + 2 ) + ( a + 1 ) ( a + 2 ) = 1 0 0 1 gives almost 1 8 . (The maximum a is taken when the triple is ( a , a + 1 , a + 2 ) ..)
Log in to reply
More simply, a b + b c + c a > a 2 + a 2 + a 2 = 3 a 2 ⟹ ⟹ ⟹ 3 a 2 < 1 0 0 1 a 2 < ⌊ 3 1 0 0 1 ⌋ a ≤ 1 7
I did exactly same . . should not there be shorter way ?
(PARI) for(a=1,20,for(b=a+1,20,for(c=b+1,20,if(a b+b c+a*c==1001,print(a","b","c",")))))
Log in to reply
I did the same way !!!
How many times are people supposed to be reminded not to post solutions that use a computer! If you need the aid of a computer to solve a problem, it obviously means that you are on the wrong track. Nevertheless, you can use it for your own 'enrichment' but remember to avoid posting such solutions (even in comments).
i used grapher to make graph of c = (1001 - ac)/(a + b) and a = 1,2,3,…17
Log in to reply
How many times are people supposed to be reminded not to post solutions that use a computer! If you need the aid of a computer to solve a problem, it obviously means that you are on the wrong track. Nevertheless, you can use it for your own 'enrichment' but remember to avoid posting such solutions (even in comments).
Log in to reply
what the hell u speak, i solved equations on paper and when i got to do much calculated work instead i did graph. i don't rely on a computer to solve a problem, even without a computer or calculator i could solve but it would take time to do it.
i am saving time and u man telling me anything dude.
you have given ab+ac+bc=1001 and a<b<c.so, c=[(1001-ab)/(a+b)] so, 0<a<b<sqrt[(a^2)+1001]-a so, 0<a<sqrt(1001/3)=18.266...... so, the integer solutions for a is =1,2,3,.....16,17,18 similarly replacing a with b we get the same result for c ...so, b can also take any value from 1 to 18....but, experiment shows neither a nor b can take the value 18. hence calculating we get 16 results....for example take a=1 then b+c+bc=1001 and find how many integer pairs there can hold for the relation...the solutions i got are ::::
paragraph 1
a = 1, b = 2, c = 333
paragraph 1
a = 1, b = 5, c = 166
paragraph 1
a = 2, b = 3, c = 199
paragraph 1
a = 2, b = 13, c = 65
paragraph 1
a = 3, b = 7, c = 98
paragraph 1
a = 4, b = 5, c = 109
paragraph 1
a = 5, b = 13, c = 52
paragraph 1
a = 5, b = 14, c = 49
paragraph 1
a = 5, b = 22, c = 33
paragraph 1
a = 6, b = 11, c = 55
paragraph 1
a = 7, b = 8, c = 63
paragraph 1
a = 7, b = 14, c = 43
paragraph 1
a = 7, b = 18, c = 35
paragraph 1
a = 7, b = 23, c = 28
paragraph 1
a = 11, b = 22, c = 23
paragraph 1
a = 13, b = 17, c = 26
First, we have ab + bc + ac = 1001 and a < b < c so a < 18. With each value of a, we have 16 triples of positive integers (a, b, c) that a < b < c: (1, 2, 333), (1, 5, 166), (2, 3, 199), (2, 13, 65), (2, 3, 199), (3, 7, 98), (4, 5, 109), (5, 13, 52), (5, 14, 49), (5, 22, 33), (6, 11, 55), (7, 8, 63), (7, 14, 43), (7, 18, 35), (7, 23, 28), (11, 22, 33) and (13, 17, 26). Hence, we have 16 trples of positive integers (a, b, c) that satisfy the problem.
"With each value of a, we have 16 triples of positive integers (a, b, c) that a < b < c: (1, 2, 333), (1, 5, 166), (2, 3, 199), (2, 13, 65), (2, 3, 199), (3, 7, 98), (4, 5, 109), (5, 13, 52), (5, 14, 49), (5, 22, 33), (6, 11, 55), (7, 8, 63), (7, 14, 43), (7, 18, 35), (7, 23, 28), (11, 22, 33) and (13, 17, 26)." The crucial detail is missing: how to get b and c, knowing a. May as well be a result of a computer search.
I was unsure as to how to go about solving this mathematically. But I am also a computer scientist and I knew that the numbers involved were small enough that I could brute force the solution easily with a simple python program.
My program:
total = 0
for i in range(1,500):
for j in range(i+1,500):
for k in range(j+1,500):
if i * j + i * k + j * k==1001:
print "("+str(i)+","+str(j)+","+str(k)+")"
total+=1
print total
I knew I didn't have to test beyond 500 because 1 500+1 1+1*500=1001 (which is not a valid solution, but still provides a simple upper limit).
The program's output is below. It lists the triples and finally the solution to the problem. (The solution is 16.)
(1,2,333)
(1,5,166)
(2,3,199)
(2,13,65)
(3,7,98)
(4,5,109)
(5,13,52)
(5,14,49)
(5,22,33)
(6,11,55)
(7,8,63)
(7,14,43)
(7,18,35)
(7,23,28)
(11,22,23)
(13,17,26)
16
In order to produce this solution, I'll be using the following results:
I) If a number n is factored like this: n = p 1 k 1 ∗ p 2 k 2 ∗ . . . ∗ p n k n , where p i is the i-th prime factor of n, then the number of divisors it has is given by the product:
d = ( k 1 + 1 ) ∗ ( k 2 + 1 ) ∗ . . . ∗ ( k n + 1 )
And if the number of divisors d is even, then the number of ways we can write n as a product of two distinct postive integers, without taking into account the order of the numbers in the multiplication, is d / 2 .
II) Given that a b + a c + b c = 1 0 0 1 , take the numbers ab, ac and bc. By the AM-GM inequality, c b r t ( a b ∗ a c ∗ b c ) < = ( a b + a c + b c ) / 3 .
Thus, c b r t ( a 2 b 2 c 2 ) < = 1 0 0 1 / 3 , which leads us to ( a b c ) 2 < = ( 1 0 0 1 / 3 ) 3
We now have a b c < = s q r t ( ( 1 0 0 1 / 3 ) 3 ) . Also, since a < b < c , we can safely say that a 3 < a b c , so a 3 < s q r t ( ( 1 0 0 1 / 3 ) 3 ) , or a < s q r t ( 1 0 0 1 / 3 )
Since 1 0 0 1 / 3 = 3 3 3 + 2 / 3 , and the greatest square number that is smaller than this value is 3 2 4 = 1 8 2 , we can write that a < = 1 8 .
III) ( a + b ) ( a + c ) = a 2 + a b + a c + b c = 1 0 0 1 + a 2 . We'll be using the identity ( a + b ) ( a + c ) = 1 0 0 1 + a 2 from now on. We must find b and c such that b < c , and b > 0 . Also, b > a .
Now, onto the brute-force math, where we see the values b and c can assume when 1 < = a < = 1 8 .
Case 1) a = 1 .
( b + 1 ) ( c + 1 ) = 1 0 0 2 = 2 ∗ 3 ∗ 1 6 7 . We have 8 divisors, thus 4 ways to divide 1002 as a product of distinct numbers. Ignore cases where the smallest number is 1 ( b is not a positive number) or 2 ( b < = a )
1) b + 1 = 3 , c + 1 = 3 3 4 , which gives us b = 2 and c = 3 3 3 . This solution is valid.
2) b + 1 = 6 , c + 1 = 1 6 7 , which gives us b = 5 and c = 1 6 6 . This solution is valid.
Case 2) a = 2
( b + 2 ) ( c + 2 ) = 1 0 0 5 = 3 ∗ 5 ∗ 6 7 We have 8 divisors, thus 4 ways to divide 1005 as a product of distinct numbers. Ignore cases where the smallest number is 1 ( b is not a positive number) or 3 ( b < = a )
1) b + 2 = 5 , c + 2 = 2 0 1 , which gives us b = 3 and c = 1 9 9 . This solution is valid.
2) b + 2 = 1 5 , c + 2 = 6 7 , which gives us b = 1 3 and c = 6 5 . This solution is valid.
Case 3) a = 3
( b + 3 ) ( c + 3 ) = 1 0 1 0 = 2 ∗ 5 ∗ 1 0 1 We have 8 divisors, thus 4 ways to divide 1005 as a product of distinct numbers. Ignore cases where the smallest number is 1, 2 ( b is not a positive number) or 5 ( b < = a )
1) b + 3 = 1 0 , c + 3 = 1 0 1 , which gives us b = 7 and c = 9 8 . This solution is valid.
Case 4) a = 4
( b + 4 ) ( c + 4 ) = 1 0 1 7 = 3 2 ∗ 1 1 3 We have 6 divisors, thus 3 ways to divide 1005 as a product of distinct numbers. Ignore cases where the smallest number is 1 or 3 ( b is not a positive number).
1) b + 4 = 9 , c + 4 = 1 1 3 , which gives us b = 5 and c = 1 0 9 . This solution is valid.
Case 5) a = 5
( b + 5 ) ( c + 5 ) = 1 0 2 6 = 2 ∗ 3 3 ∗ 1 9 We have 16 divisors, thus 8 ways to divide 1026 as a product of distinct numbers. Ignore cases where the smallest number is 1, 2, 3 ( b is not a positive number), 6 or 9 ( b < = a )
1) b + 5 = 1 8 , c + 5 = 5 7 , which gives us b = 1 3 and c = 5 2 . This solution is valid.
2) b + 5 = 1 9 , c + 5 = 5 4 , which gives us b = 1 4 and c = 4 9 . This solution is valid.
3) b + 5 = 2 7 , c + 5 = 3 8 , which gives us b = 2 2 and c = 3 3 . This solution is valid.
Case 6) a = 6. ( b + 6 ) ( c + 6 ) = 1 0 3 7 = 1 7 ∗ 6 1 . This number has 4 divisors, thus there are 2 ways to divide 1037 as a product of 2 distinct numbers without taking into account the order of the factors. Ignore the case where the smallest number is 1 ( b is not a positive number). We have the single case:
1) b + 6 = 1 7 , c + 6 = 6 1 , which gives us b = 1 1 and c = 5 5 . This solution is valid.
Case 7: a = 7 ( b + 7 ) ( c + 7 ) = 1 0 5 0 = 2 ∗ 3 ∗ 5 2 ∗ 7 . We have then 24 divisors - 12 ways to divide in a product of 2 different numbers. Ignore cases where the smallest number is 1, 2, 3, 5, 7 ( b is not positive), 10 or 14 ( b < = a ) Cases remaining:
1) b + 7 = 1 5 , c + 7 = 7 0 . b = 8 and c = 6 3 . Valid solution.
2) b + 7 = 2 1 , c + 7 = 5 0 . b = 1 4 and c = 4 3 . Valid solution.
3) b + 7 = 2 5 , c + 7 = 4 2 . b = 1 8 and c = 3 5 . Valid solution.
4) b + 7 = 3 0 , c + 7 = 3 5 . b = 2 3 and c = 2 8 . Valid solution.
Case 8: a = 8 . ( b + 8 ) ( c + 8 ) = 1 0 6 5 = 3 ∗ 5 ∗ 7 1 . We have 8 divisors, 4 ways to divide in a product of 2 different numbers. Ignore cases where the smallest number is 1, 3, 5 ( b < = 0 ) or 15 ( b < = a ). No cases remain.
Case 9: a = 9 . ( b + 9 ) ( a + 9 ) = 1 0 8 2 = 2 ∗ 5 4 1 . 4 divisors, 2 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 2 ( b < = 0 ). No cases remain.
Case 10: a = 1 0 . ( b + 1 0 ) ( a + 1 0 ) = 1 1 0 1 = 3 ∗ 3 6 7 . 4 divisors, 2 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1 or 3 ( b < = 0 ). No cases remain.
Case 11: a = 1 1 . ( b + 1 1 ) ( a + 1 1 ) = 1 1 2 2 = 2 ∗ 3 ∗ 1 1 ∗ 1 7 . 16 divisors, 8 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 2, 3, 6, 11 ( b < = 0 ), 17 or 22 ( b < = a ) Only case remaining:
1) b + 1 1 = 3 3 , c + 1 1 = 3 4 . b = 2 2 and c = 2 3 . Valid solution.
Case 12: a = 1 2 . ( b + 1 2 ) ( c + 1 2 ) = 1 1 4 5 = 5 ∗ 2 2 9 . 4 divisors, 2 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 5 ( b < = 0 ).. No cases remain.
Case 13: a = 1 3 ( b + 1 3 ) ( c + 1 3 ) = 1 1 7 0 = 2 ∗ 3 2 ∗ 5 ∗ 1 3 . 24 divisors, 12 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 2, 3, 5, 6, 9, 10, 13 ( b < = 0 ), 15, 18 or 26 ( b < = a ). Only case remaining:
1) b + 1 3 = 3 0 , c + 1 3 = 3 9 . b = 1 7 and c = 2 6 . Valid solution.
Case 14: a = 1 4 ( b + 1 4 ) ( c + 1 4 ) = 1 1 9 7 = 3 2 ∗ 7 ∗ 1 9 . 12 divisors, 6 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 3, 7, 9 ( b < = 0 ), 19 or 21 ( b < = a ). No cases remain.
Case 15: a = 1 5 . ( b + 1 5 ) ( c + 1 5 ) = 1 2 2 6 = 2 ∗ 6 1 3 . 4 divisors, 2 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1 or 2 ( b < = 0 ). No cases remain.
Case 16: a = 1 6 . ( b + 1 6 ) ( c + 1 6 ) = 1 2 5 7 = 3 ∗ 4 1 9 . 4 divisors, 2 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1 or 3 ( b < = 0 ). No cases remain.
Case 17: a = 1 7 . ( b + 1 7 ) ( c + 1 7 ) = 1 2 9 0 = 2 ∗ 3 ∗ 5 ∗ 4 3 . 16 divisors, 8 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 2, 3, 5, 6, 10, 15 ( b < = 0 ) or 30 ( b < = a ) No cases remain.
Case 18: a = 1 8 . ( b + 1 8 ) ( c + 1 8 ) = 1 3 2 5 = 5 2 ∗ 5 3 . 6 divisors, 3 ways to divide in a product of 2 different numbers. Ignore cases where smallest number is 1, 5 ( b < = 0 ) or 25 ( b < = a ) No cases remain.
The valid triplets are: ( 1 , 2 , 3 3 3 ) , ( 1 , 5 , 1 6 6 ) , ( 2 , 3 , 1 9 9 ) , ( 2 , 1 3 , 6 5 ) , ( 3 , 7 , 9 8 ) , ( 4 , 5 , 1 0 9 ) , ( 5 , 1 3 , 5 2 ) , ( 5 , 1 4 , 4 9 ) , ( 5 , 2 2 , 3 3 ) , ( 6 , 1 1 , 5 5 ) , ( 7 , 8 , 6 3 ) , ( 7 , 1 4 , 4 3 ) , ( 7 , 1 8 , 3 5 ) , ( 7 , 2 3 , 2 8 ) , ( 1 1 , 2 2 , 2 3 ) , ( 1 3 , 1 7 , 2 6 ) , which give us a total of 16 triplets which satisfy the problem's conditions.
really nice
I did it the same way and it's quite laborious...took me about an hour to check all the cases...........Any shorter approaches????
Problem Loading...
Note Loading...
Set Loading...
First, setting a = b = c would show that a ≤ 1 8 . [Note, this is not a correct argument. How would you show that a ≤ 1 8 ?]
Then change the equation from a b + a c + b c = 1 0 0 1 to ( a + b ) ( a + c ) = 1 0 0 1 + a 2 .
For a = 1 , we get that ( 1 + b ) ( 1 + c ) = 1 0 0 2 = 2 × 3 × 1 6 7 , using the requirement that a < b < c , we get that ( 1 + b ) = 3 or 6 . Continue this with a = 2 , … , 1 8 .
You will find that for:
a = 1 , there are 2 solutions
a = 2 , there are 2 solutions
a = 3 , there are 1 solutions
a = 4 , there are 1 solutions
a = 5 , there are 3 solutions
a = 6 , there are 1 solutions
a = 7 , there are 4 solutions
a = 8 , there are 0 solutions
a = 9 , there are 0 solutions
a = 1 0 , there are 0 solutions
a = 1 1 , there are 1 solutions
a = 1 2 , there are 0 solutions
a = 1 3 , there are 1 solutions
a = 1 4 , there are 0 solutions
a = 1 5 , there are 0 solutions
a = 1 6 , there are 0 solutions
a = 1 7 , there are 0 solutions
a = 1 8 , there are 0 solutions
Totaling to 16 solutions.