Let S be the subset of the set of ordered pairs of integers defined recursively by
Basis Step: $(0, 0) \in S$
Recursive Step: If $(a, b) \in S$, then $(a + 2,b + 3) \in S$ and $(a+3,b+2) \in S$.
Use structural induction to show that $5 | (a+b)$ when $(a,b) \in S$
$S = \left\{{(0,0), (2,3), (3, 2), (4,6), (5,5), (5,5),(6,4),...}\right\}$
Let $A$ be a set which contains all the instances of $(a, b)$ in $S$ as the sum of the two.
We can generate $A$ recursively by starting with the basis step: $(0,0) \in A$
Recursive Step: if $a \in A$, then $(a + 5) \in A$. This is just a simplification of the recursive step for $S$.
Proof that $5|a$ for each $a \in A$:
Basis Step: $5|0$ since every number divides zero.
Recursive Step: $A$ only contains products of 5 since, its elements are generated by adding 5 to 0 recursively, so all the elements in $A$ are divisible by 5.
P.S. I don't quite understand what structural induction really is....
Thanks!!!