Find the number of distinct ordered triples ( a , b , c ) that satisfy the equation
a b c − 5 4 = 9 a + 9 b + 9 c
where a , b , c are positive (not necessarily distinct) integers.
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.
Sir I am commenting this not because of math but because of error occurring in my lifetime subscription. waiyan221113@gmail.com has given me lifetime premium to holakolala7@gmail.com. Although the link that says ‘activate lifetime premium ‘ arrive, when I click the link ,the error is shown.I am requesting support.brilliant.org for three days in a row and they reply nothing. Please help me sir.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
I would do it like this. The code is slightly more efficient: instead of N 3 loops I have just ( 3 N ) .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
Problem Loading...
Note Loading...
Set Loading...
A quick overview of one possible solution method....
Let x = a + 3 , y = b + 3 , z = c + 3 . The given equation can then be written as
x 1 + y 1 + z 1 = 3 1 .
Now look for solutions with 4 ≤ x ≤ 9 and x ≤ y ≤ z . Then with, say, x = 4 we end up with
y 1 + z 1 = 3 1 − 4 1 = 1 2 1 ⟹ 1 2 y − 1 2 z = y z ⟹ ( y − 1 2 ) ( z − 1 2 ) = 1 4 4 .
We can then look at the various factorizations of 1 4 4 to establish values for y , z and thus triples ( x , y , z ) with x ≤ y ≤ z , which are
( 4 , 1 3 , 1 5 6 ) , ( 4 , 1 4 , 8 4 ) , ( 4 , 1 5 , 6 0 ) , ( 4 , 1 6 , 4 8 ) , ( 4 , 1 8 , 3 6 ) , ( 4 , 2 0 , 3 0 ) , ( 4 , 2 1 , 2 8 ) , ( 4 , 2 4 , 2 4 ) .
These translate to triples ( a , b , c )
( 1 , 1 0 , 1 5 3 ) , ( 1 , 1 1 , 8 1 ) , ( 1 , 1 2 , 5 7 ) , ( 1 , 1 3 , 4 5 ) , ( 1 , 1 5 , 3 3 ) , ( 1 , 1 7 , 2 7 ) , ( 1 , 1 8 , 2 5 ) , ( 1 , 2 1 , 2 1 ) .
To then find the number of ordered triples we then need to count all permutations of these triples. Doing this for all possible values of x , we end up with a total of 1 0 6 solution triples.
Note: The remainder of the ascending triples are
( 2 , 5 , 1 1 7 ) , ( 2 , 6 , 4 2 ) , ( 2 , 7 , 2 7 ) , ( 2 , 9 , 1 7 ) , ( 2 , 1 2 , 1 2 ) , ( 3 , 4 , 3 9 ) , ( 3 , 5 , 2 1 ) , ( 3 , 6 , 1 5 ) , ( 3 , 7 , 1 2 ) , ( 3 , 9 , 9 ) , ( 4 , 4 , 1 8 ) , ( 5 , 5 , 9 ) , ( 6 , 6 , 6 ) .