Given the following problem:
Obtain the values of $\lambda$ for which the operations $\oplus$ and $\otimes$ given by the expressions $a \oplus b = a + b - 6$ and $a \otimes b = ab + \lambda a + \lambda b + 42$ respectively, induces in $\mathbb{Z}$ the ring structure $(\mathbb{Z}, \oplus, \otimes)$. Describe in details all the steps and the justification to obtain the values of $\lambda$.
What I have tried:
Internal Law of $(\mathbb{Z}, \otimes)$: $$ a \otimes b = ab + \lambda a + \lambda b + 42 = ab + \lambda (a + b) + 42 \in \mathbb{Z} $$ for $$ \lambda (a + b) \in \mathbb{Z} $$
Associativity of $(\mathbb{Z}, \otimes)$: $$ a \otimes (b \otimes c) = (a \otimes b) \otimes c $$ In which I ended up with: $$ 42a + \lambda (a + \lambda c + 42) = 42c + \lambda (\lambda a + 42 + c) $$
Distributivity: $$ a \otimes (b \oplus c) = a \otimes b \oplus a \otimes c $$ In which I got: $$ -6a - 6 \lambda = \lambda a + 36 $$ Which tells me that: $$ \lambda = -6 $$
And here I am stuck. Did I start correctly? Where do I continue?
The value of $\lambda$ should be an integer, because $1\otimes0=\lambda+42$ should be an integer. Note: saying $\lambda(a+b)\in\mathbb{Z}$ is wrong, because $a$ and $b$ represent variables.
It's perhaps easier to look first at distributivity (only one side because $\otimes$ is clearly commutative): \begin{align} a\otimes(b\oplus c) &=a\otimes(b+c-6)\\ &=a(b+c-6)+\lambda(a+b+c-6)+42\\ &=ab+ac-6a+\lambda(a+b+c-6)+42\\[6px] a\otimes b\oplus a\otimes c &=ab+\lambda(a+b)+42+ac+\lambda(a+c)+42-6 \end{align} After comparing both sides, we get $$ -6a-6\lambda=\lambda a+36 $$ and this should hold for every $a$. In particular, for $a=0$, we get $-6\lambda=36$, that is, $\lambda=-6$.
Now that you know the only possible value of $\lambda$, it should be easy to check all other required properties.