09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

280 SPECIAL NUMBERS<br />

The process of reducing Fn*k to a combination of F, and F,+, by using<br />

(6.105) and (6.104) leads to the sequence of <strong>for</strong>mulas<br />

F n+2 = F,+I + F, Fn-I = F,+I - F,<br />

F n+3 = 2F,+, + F, Fn-2 = -F,+, +2F,<br />

F n+4 = 3F,+1 + 2F, Fn-3 = 2F,+, -SF,<br />

F n+5 = 5F,+1 + 3F, Fn-4 = -3F,+, + 5F,<br />

in which another pattern becomes obvious:<br />

F n+k = FkFn+l + h-IF,, . (6.108)<br />

This identity, easily proved by induction, holds <strong>for</strong> all integers k and n (positive,<br />

negative, or zero).<br />

If we set k = n in (6.108), we find that<br />

F2n = FnFn+l + Fn-I Fn ; (6-g)<br />

hence Fz,, is a multiple of F,. Similarly,<br />

F3n = FznFn+tl + F2n-1Fn,<br />

and we may conclude that F:+,, is also a multiple of F,. By induction,<br />

Fkn is a multiple of F, , (6.110)<br />

<strong>for</strong> all integers k and n. This explains, <strong>for</strong> example, why F15 (which equals<br />

610) is a multiple of both F3 and F5 (which are equal to 2 and 5). Even more<br />

is true, in fact; exercise 27 proves that<br />

.wWm, Fn) = Fgcd(m,n) .<br />

(6.111)<br />

For example, gcd(F,Z,F,s) = gcd(144,2584) = 8 = Fg.<br />

We can now prove a converse of (6.110): If n > 2 and if F, is a multiple of<br />

F,, then m is a multiple of n. For if F,\F, then F,\ gcd(F,, F,) = Fgcd(m,n) <<br />

. .<br />

F,. This 1s possible only if Fgcd(m,nl = F,; and our assumption that n > 2<br />

makes it mandatory that gcd(m, n) = n. Hence n\m.<br />

An extension of these divisibility ideas was used by Yuri Matijasevich in<br />

his famous proof [213] that there is no algorithm to decide if a given multivariate<br />

polynomial equation with integer coefficients has a solution in integers.<br />

Matijasevich’s lemma states that, if n > 2, the Fibonacci number F, is a<br />

multiple of F$ if and only if m is a multiple of nF,.<br />

Let’s prove this by looking at the sequence (Fk, mod F$) <strong>for</strong> k = 1, 2,<br />

3 I “‘, and seeing when Fk,, mod Fi = 0. (We know that m must have the

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

Saved successfully!

Ooh no, something went wrong!