This is a practice question to prepare me for my final exam in abstract algebra.
Construct a ring containing $16$ elements where EVERY element $r\neq 0$,$1$ is a zero divisor
I'm having a hard time starting this out. Especially, how can I ensure a ring I create has 16 elements. My first thought it to create a quotient ring R/I.
Since we're restricting our ring to have exactly 16 elements, it, of course, has to be finite.
I'm not the best at abstract algebra so this may not be even close, but here is one I thought would work:
Let $R = \{a \in \mathbb{Z}_{32} |$ a is even, $a > 0\}$ and let $I = 2$.
So then $R = \{2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32\}$ which has 16 elements, and since we're modding out by 2, they're all zero divisors.
Any help would be greatly appreciated.
I suggest $(\Bbb{Z}/2\Bbb{Z})^4$. We can identify this ring with the collection of subsets of $X=\{1,2,3,4\}$ by using indicator functions. Then addition is symmetric difference and multiplication is intersection. The null set is $0$, and $X$ is the identity. For any subset $S\subseteq X$, we then have $S\cdot S^C=0$. Thus either $S=\varnothing=0$, $S=X=1$, or $S$ is a zero divisor.
Edit
The ring I suggest is the following. It is the set of 4-tuples of whose entries are either $0$ or $1$.
Some example elements of this ring are $(0,0,0,0)$, $(0,1,1,0)$, $(1,0,1,1)$, and $(1,1,1,1)$. Since there are two choices for each entry, there are 16 total elements.
The ring operations are pointwise addition and multiplication where $1+1=0$ and otherwise addition and multiplication behave normally (i.e. $0\cdot 1=0$, $1\cdot 1=1$, $0\cdot 0=0$, and $0+0=0$, and $1+0=1$). As examples, $$(0,1,1,0)+(1,0,1,1)=(0+1,1+0,1+1,0+1)=(1,1,0,1),$$ and $$(0,1,1,0)\cdot (1,0,1,1)=(0\cdot 1,1\cdot 0, 1\cdot 1,0\cdot 1)=(0,0,1,0).$$
You can check that $(0,0,0,0)$ is the additive identity and $(1,1,1,1)$ is the multiplicative identity.
Then if $(a,b,c,d)$ is a tuple that is not one of these, if we define a new tuple $(\bar{a},\bar{b},\bar{c},\bar{d})$ by making $\bar{0}=1$ and $\bar{1}=0$, then $0\cdot \bar{0}=0\cdot 1=0$ and $1\cdot \bar{1}=1\cdot 0=0$, so $$(a,b,c,d)\cdot (\bar{a},\bar{b},\bar{c},\bar{d})= (a\bar{a},b\bar{b},c\bar{c},d\bar{d}) =(0,0,0,0).$$ Thus all nonzero elements are zero divisors in this ring.