Oct 16, 2026
Let \(a_1=0, a_2 = 6, a_3 = 9,\) and for \(n >3,\) \(a_n = a_{n-1} + a_{n-3}.\)
Using strong induction, prove that \(3 \mid a_n,\) where \(n\) is a positive integer.
Proof:
Base case:
\(n = 1.\) For this case, we must show \(3 \mid a_1.\)
By the recursive definition of \(a_n,\) \(a_1 = 0,\) which is divisible by 3.
\(n = 2.\) For this case, we must show \(3 \mid a_2\).
By the recursive definition of \(a_n,\) \(a_2 = 6,\) which is divisible by 3.
\(n = 3.\) For this case, we must show \(3 \mid a_3\).
By the recursive definition of \(a_n,\) \(a_3 = 9,\) which is divisible by 3.
This proves the base case.
Inductive step: Inductive Hypothesis (I.H.): For \(j\), \(1\leq j \leq k,\) where \(k \geq 3,\) assume that \(3 \mid a_j\).
We need to show that \(3 \mid a_{k+1}.\) Since \(k+1 \geq 4,\) the recursive definition applies, so
\[ \begin{array}{l} a_{k+1} \\ = \langle \text{definition of } a_n \rangle \\ a_{k} + a_{k-2} \end{array} \]Since \(k \geq 3\) we have \(1 \leq k-2 \leq k,\) so by the I.H., there exist integers \(m\) and \(p\) such that \(a_k = 3m\) and \(a_{k-2}=3p.\) Therefore,
\[ \begin{array}{l} a_{k} + a_{k-2} \\ = \langle \text{I.H.} \rangle \\ 3m + 3p \\ = \langle \text{Algebra} \rangle \\ 3(m + p) \end{array} \]Since \(m,p\) are integers, \(m+p\) is also an integer. Therefore \(3 \mid a_{k+1}.\)
This proves the inductive step.
Therefore, by strong induction \(3 \mid a_n,\) where \(n\) is a positive integer.
For the following subproblems, answer only what is asked of you. Please write out the complete statement when asked what do we have to prove and the inductive hypothesis. Your answers must be clear and precise. Do not provide the proof.
Using strong induction, prove that a postage of \(n\)-cents, where \(n\) is a positive integer and \(n \geq 14\) can be made using only 3-cent and 8-cent stamps.
For this problem, what do we have to prove?
For each positive integer \(n \geq 14,\) we need to prove that \(n\)-cents postage can be made using 3-cent and 8-cent stamps.
For the base case what values of \(n\) should we consider?
\(n=14, 15, 16.\)
What do we need to prove for the base case?
For each \(n=14, 15, 16,\) we need to show that \(n\)-cents postage can be made using 3-cent and 8-cent stamps.
For the Inductive Step, what Inductive Hypothesis should we assume?
Assume that we can obtain a \(j\)-cent postage using 3-cent and 8-cent stamps, where \(14 \leq j \leq k\), where \(k \geq 16\).
What do we need to prove for the Inductive Step?
We need to show that we can obtain \((k+1)\)-cent postage using 3-cent and 8-cent stamps.
Suppose a set \(S\) of strings of characters \(a\) and \(b\) is defined recursively as follows:
Basis: \(\lambda\) (the empty string) is a string in \(S\).
Recursive Step: If \(x \in S \) then \(axb \in S\) and \( bxa \in S\) and if
\(x \in S\) and \(y \in S\) then \(xy \in S.\)
Prove that every string in \(S\) has an equal number of \(a\) and \(b\).
For this problem, what do we have to prove?
For each \(s \in S,\) we need to prove that the number of \(a\) equal to the number of \(b\).
For the base case what string should we consider?
The empty string \(\lambda\).
What do we need to prove for the base case?
For the string \(\lambda\), we need to prove that the number of \(a\) equal to the number of \(b.\)
For the Inductive Step, what Inductive Hypothesis should we assume?
Assume for strings \(x \in S\) and \(y\in S\), number of \(a\) equal to the number of \(b.\)
What do we need to prove for the Inductive Step?
We need to prove that the number of \(a\) is equal to the number of \(b\) for strings \(axb, bxa\) and \(xy.\)
Let \(\Sigma\) be an alphabet and \(\Sigma^*\) be the set of strings over the alphabet \(\Sigma\). \(\Sigma^*\) can be recursively defined as follows:
Basis: \(\lambda\) (the empty string) is a string in \(\Sigma^*\).
Recursive Step: If \(\alpha \in \Sigma\) and \(s \in \Sigma^*\) then
\(s' = \alpha s \in \Sigma^*\). Here \(\alpha s\) is the concatenation of character \(\alpha\) and string \(s\).
The concatenation operation on two strings \(s, t \in \Sigma^*\) is denoted by \((s \cdot t)\) and can be recursively-defined as
Basis: For \(t\in\Sigma^*\), \(\lambda \cdot t = t \cdot \lambda = t\)
Recursive Step: If \(s' \in \Sigma^*\) and \(t \in \Sigma^*\), where \(s' = \alpha s\) and
\(\alpha \in \Sigma\) and \(s \in \Sigma^*\) then
We want to prove that the concatenation operation is associative, that is for any strings \(s, t, u \in \Sigma^*,\)
\[ (s \cdot t ) \cdot u = s \cdot ( t \cdot u ) \]We want to prove this result by structural induction on string \(s \in \Sigma^*\).
Proof:
Base case: We must consider the empty string for the base case.
We need to show that for \(\lambda \in \Sigma^*,\) \((\lambda \cdot t ) \cdot u = \lambda \cdot ( t \cdot u ).\)
\[ \begin{array}{r c l} & & (\lambda \cdot t ) \cdot u \\ & = & \langle \text{Basis of recursive def of concatenation} \rangle \\ & & t \cdot u \\ & = & \langle \text{Basis of recursive def of concatenation} \rangle \\ & & \lambda \cdot \left( t \cdot u \right) \end{array} \]This proves the base case.
Inductive Step: Inductive Hypothesis (I.H.): Assume the result holds for string \(s\). That is, for \(s \in \Sigma^*\) \((s \cdot t ) \cdot u = s \cdot ( t \cdot u )\).
We need to show that the result holds for \(s' = \alpha s\), where \(\alpha \in \Sigma\) and \(s \in \Sigma^*.\) In other words, we need to show that for \(s' = \alpha s \in \Sigma^*\), \((s' \cdot t ) \cdot u = s' \cdot ( t \cdot u )\).
\[ \begin{array}{r c l} & & (s' \cdot t ) \cdot u \\ & = & \langle \text{ Recursive step of string} \rangle \\ & & (\alpha s \cdot t ) \cdot u \\ & = & \langle \text{Recursive step of concatenation} \rangle \\ & & \left( \alpha ( s \cdot t ) \right) \cdot u \\ & = & \langle \text{Recursive step of concatenation} \rangle \\ & & \alpha \left( ( s \cdot t ) \cdot u \right) \\ & = & \langle \text{Inductive Hypothesis} \rangle \\ & & \alpha \left( s \cdot ( t \cdot u ) \right) \\ & = & \langle \text{Recursive step of concatenation} \rangle \\ & & \alpha s \cdot ( t \cdot u ) \\ & = & \langle \text{ Recursive step of string} \rangle \\ & & s' \cdot (t \cdot u ) \end{array} \]This completes the inductive step.
By structural induction, we have shown that string concatenation is associative.