6. (i) Show that postage of 24 cents or more can be achieved by using only 5-cent and 7-cent stamps. (ii) c1 = 0 and cn = cn/2 + n2 for all n > 1. (a) Compute c2,c3,c4 and c5. (b) Prove that cn < 4n2 for all n ≥ 1.
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
1)for n = 24, 25 , 26, 27 (we explicitly show how these can be achieved)
24 = 2 * 5 + 2 * 7
25 = 5 * 5
26 = 1 * 5 + 3 * 7
27 = 4 * 5 + 1 * 7
Let's assume that the statement holds for all k such that n ≥ k ≥ 24.
Then for n + 1 cents postage case, if (n + 1) - 5 = n - 4 ≥ 24 , then by inductive assumption, (n-4) cents can be achieved by using only 5-cents and 7-cents stamps, and hence (n+1) cents can be achieved by using one extra 5-cent stamp as in (n-4) cents case. if (n-4) < 24 then n must be one of those values : 24 , 25, 25 or 27 (since n ≥ 24 ), and it has been justified in basic step. Hence the statement is true for all n ≥ 24.
2) a) c2=c1+22=4
c3=c1+32=9
c4=c2+42=20
c5=c2+52=29
b)
if we suppose for k≥2, then:
For k=2n+1 we have
For k=2n we have