For how many ordered pairs of positive integers $(x,y)$ is $x+2y = 100$?
I'm thinking the answer is 16. Since it is x+2y=100 this implies that x is even. so x=2,4, 6, 8, 10, ..., 30, 32. There are 16ordered pairs.
For how many ordered pairs of positive integers $(x,y)$ is $x+2y = 100$?
I'm thinking the answer is 16. Since it is x+2y=100 this implies that x is even. so x=2,4, 6, 8, 10, ..., 30, 32. There are 16ordered pairs.
We have $x=100-2y=2(50-y)$ and so $x>0$ iff $y<50$.
Therefore, every value of $y=1,\dots,49$ works.