Casework on x x ?

Find the number of non-negative integer triples ( x , y , z ) (x,y,z) which satisfy the equation below.

6 x + 3 y + 2 z = 2016 6x+3y+2z=2016


The answer is 56953.

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.

2 solutions

Manuel Kahayon
Jun 6, 2016

Solving for y y , we get that 3 y = 2016 2 z 6 x 3y = 2016-2z-6x . Since the RHS is even, the LHS must also be even, so y y must be even, i.e. y = 2 k y=2k for some integer k k .

Solving for z z , we get that 2 z = 2016 3 y 6 x 2z = 2016-3y-6x . Since the RHS is divisible by 3, the LHS must also be divisible by 3, so z z must be divisible by 3, i.e. z = 3 n z=3n for some integer n n .

Substituting this into the original equation, we get 6 x + 6 k + 6 n = 2016 6x+6k+6n = 2016 , or x + k + n = 336 x+k+n=336 . By stars and bars, this has a total of ( 338 2 ) = 56953 {338 \choose 2} = 56953 solutions. Therefore, our answer is 56953 \boxed{56953} .

6 x + 3 y + 2 z = 2016 6 x + 3 y = 2016 2 z 2 x + y = 672 2 3 z Observe that z can range from 0 to 1008. Also observe that the RHS is always even , so there will always be a solution to this diophantine equation. The number of solutions will thus be 672 2 3 z 2 + 1 = 337 1 3 z for each value of z. Now let z=3k, so the answer is k = 0 336 337 k = 56953. 6x+3y+2z=2016\\6x+3y=2016-2z\\2x+y=672-\frac{2}{3}z\\\text{Observe that z can range from 0 to 1008. Also observe that the RHS is always even}\\\text{, so there will always be a solution to this diophantine equation.}\\\text{The number of solutions will thus be } \frac{672-\frac{2}{3}z}{2}+1=337-\frac{1}{3}z\text{ for each value of z.}\\\text{Now let z=3k, so the answer is }\sum_{k=0}^{336}337-k=56953.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...