Every amount of postage that is at least 12 cents can be made from 4-cent and 5-cent stamps.
1) Base case:
2) Inductive hypothesis:
3) Inductive proof:
f(0) = 5
f(n) = f(n-1) + 3n
What is f(3) ?
What is closed-form solution for f(n) (no need to proof)?
Hint: try to write a couple of first values without any calculations – f(1)=f(0)+3n=5+3*1, f(2) = f(1)+3*2=5+3*1+3*2, f(3)=… to see the rule
Get Answers For Free
Most questions answered within 1 hours.