22.02.2014 Views

Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet

Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet

Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example: Every postage amount < $.12 can be formed using $.04 and $.05<br />

stamp combinations only. We can prove this using modified strong induction.<br />

(Basis) Consider 4 specific cases:<br />

Postage Number <strong>of</strong> $.04’s Number <strong>of</strong> $.05’s<br />

$.12 3 0<br />

$.13 2 1<br />

$.14 1 2<br />

$.15 0 3<br />

Hence, P(j) is true for 12;j;15.<br />

(Induction) Assume P(j) is true for 12;j;k and k2.<br />

• h(0) = 1, h(n) = nh(n-1) = n!<br />

• Fibonacci numbers: f 0 = 0, f 1 = 1, f n = f n-1 + f n-2 , n>1.<br />

n 0 1 2 3 4<br />

f(n) 1 6 16 36 76<br />

g(n) 12 1 -10 -21 -32<br />

h(n) 1 1 2 6 24<br />

f n 0 1 1 2 3<br />

74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!