Problem : What is the smallest positive integer in the set { $24x+60y+2000z : x,y,z \in \Bbb Z$ }
Solution:By hit and trial method answer is $4$
Is there any method to find it ?
Problem : What is the smallest positive integer in the set { $24x+60y+2000z : x,y,z \in \Bbb Z$ }
Solution:By hit and trial method answer is $4$
Is there any method to find it ?
Step 2 can be done by calculating GCD by using Euclidean algorithm.
Note that the set $S$ of numbers $s=ax+by+cz$ for fixed integers $a,b,c$ and variable integers $x,y,z$ is an additive set in the sense that if $s_1,s_2\in S$ then $$s_1\pm s_2=a(x_1\pm x_2)+b(y_1\pm y_2)+c(z_1\pm z_2)$$ This implies that $S$ is the set of multiples of the minimum positive value $d$ it contains - keep adding/subtracting $d$ until you get a non-negative integer less than $d$, which must be zero.
Now note that $GCD(a,b,c)$ divides every element of $S$, and hence $d$. Also $a,b,c$ are represented by $x,y,z =(1,0,0), (0,1,0), (0,0,1)$ respectively, so $d|GCD(a,b,c)$.