Prove that any amount of more that $7$ cents can be represented by $3$ and $5$ cent coins. (Assume $3$ cent coins exist.)
Let P(n) be true if we can find $n$ cents with $3$ and $5$ cent coins.
My basis step is:
$P(8)$ is true since $3 + 5 = 8$
Would this be correct?
As for the inductive step, I'm not sure how to show it.
I've looked around online and it seems to be:
$P(k) = 8 ≤ k ≤ n$
How would I prove this to be true?
Observe that $8 = 3+5$, $10 = 2\cdot 5$, and $9 = 3\cdot 3$.This means $P(8)$, $P(9)$ and $P(10)$ are true. Assume $P(k)$ is true for $10 \leq k < n$, we prove $P(n)$ is true: Observe that $n = (n-3) + 3$, and $P(n-3)$ is true so $n-3 = 3m+5p \to n = 3+3m+5p = 3(m+1) + 5p$