



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Induction Proofs
1
n i
1 1
i
2 2 1 2 1 1
n i n i ( 1 )^2 6
n n n n
nn n n
1
n i n i
0
i
n i n i
if^2 1 if 1 0 if 0 F 1 F 2 n n n F n n n
2 1 5
2 1 5
n n F n a b 5
n n
1 1 1 5
n n
F F F a a b b n n
n n F n a b 5
/ 2 1 if 2 0 if 1 ( ) T n n n T n
particular T^ ^ n /^2 ^ lg^ n /^2 when k^ ^ n /^2 . Therefore T ( n ) T (^) n / (^2) (^1) (by the recurrence for T ( n ))
lg( n )lg( 2 ) 1
^ ^ / 2 1 if 2 0 if 1 ( ) S n n n S n
each contain exactly n horses, and so by the induction hypothesis all horses in S ^ are of one color, and likewise for S ^. Observe that h^ 3 S S and that h 3^ can have only one color. Therefore the color of the horses in S is identical to that of the horses in S . (Note n 1 n 2 n 1 3 , so there is in fact a third horse, and he can have only one color.) Since S S S it follows that all horses in S are
P ( 1 ) n 1 : P ( n 1 ) P ( n ) n 1 : P ( n )
S , we have m^ ^1 S , whence P^ (^ m ^1 ) is true. By setting n^ m^ in the statement