Suppose $S= \{x|x=a^2+ab+b^2,a,b \in Z\}$. Prove that: (1) If $m \in S$, $3|m$ , then $\frac{m}{3} \in S$ (2) If $m,n \in S$ , then $mn\in S$.
Source: China Northern MO 2012 p3 CNMO
Tags: number theory, divides
Suppose $S= \{x|x=a^2+ab+b^2,a,b \in Z\}$. Prove that: (1) If $m \in S$, $3|m$ , then $\frac{m}{3} \in S$ (2) If $m,n \in S$ , then $mn\in S$.