Question

In: Statistics and Probability

Prove the claim at the end of the section about the Euclidean Algorithm and Fibonacci numbers....

Prove the claim at the end of the section about the Euclidean Algorithm and Fibonacci numbers. Specifically, prove that if positive naturals a and b are each at most F(n), then the Euclidean Algorithm performs at most n − 2 divisions. (You may assume that n > 2.)

Solutions

Expert Solution

Given that

The claim at the end of the section about the Euclidean Algorithm and Fibonacci numbers

we have f n = f x-1 +f x-2

f x+1 =f x +f x-1

f 0 = 0 , f 1 =1 ,f 2 =1 , f 3 = 2 , .........

Let us Show that g c d ( f n ,f n+1) = 1 by Mathematical Induction

g c d (f 1 , f 2 ) = g c d (1,1)= 1

The statement is true for n = 1

assume that the statement is true for n = k

g c d ( f k , f k+1 ) = 1

assume that the statement is true for n= k

g c d ( f k , f k+1 ) = 1

Let gcd   ( f k , f k+1 ) = d

   d

  

Now &

​​​​​​

d =   1

but d = gcd ( f k+1 , f k+2) > 0

d = 1

gcd ( f k+1 , f k+2 ) = 1

The statement is proved for n = k+1

by Mathematical Induction gcd( fx , f x-1 ) = 1

Let us find gcd ( f x , f x+1 ) by Euclid's Algorithm

we have fx+1 = (1)fx +f x-1 ; 0 < f x-1 < f x

fx = (1) f x-1+ f x-2 ;  0 < f x-2< f x-1

fx-1 = (1) f x-2+ f x-3 ;  0 < fx-3 < f x-2

continuing this process

f 4 =  (1) f3+ f 2 ;  0 < f 2< f 3

f 3 = (2) f 2 +0

gcd (fx ,f x+1) = f 2​​​​​​ = 1

(n-1) steps used to adopt Eucli d's Algorithm to conclude gcd (fx ,f x+1) = 1


Related Solutions

a. Using the Euclidean Algorithm and Extended Euclidean Algorithm, show that gcd(99; 5) = 1 and...
a. Using the Euclidean Algorithm and Extended Euclidean Algorithm, show that gcd(99; 5) = 1 and find integers s1 and t1 such that 5s1 + 99t1 = 1. [Hint: You should find that 5(20) + 99(?1) = 1] b. Solve the congruence 5x 17 (mod 99) c. Using the Chinese Remainder Theorem, solve the congruence x 3 (mod 5) x 42 (mod 99) d. Using the Chinese Remainder Theorem, solve the congruence x 3 (mod 5) x 6 (mod 9)...
In this assignment, you will calculate and print a list of Fibonacci Numbers . Fibonacci numbers...
In this assignment, you will calculate and print a list of Fibonacci Numbers . Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and characterized by the fact that every number after the first two is the sum of the two preceding ones: The sequence Fn of Fibonacci numbers is defined by the recurrence relation:  which says any Nth Fibonacci number is the sum of the (N-1) and (N-2)th Fibonacci numbers. Instructions Your task will be...
(a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence,...
(a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 114, … etc. By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. We define Fib(0)=0,...
how to prove the Existence of factorization in Euclidean domains
how to prove the Existence of factorization in Euclidean domains
Use the Euclidean algorithm to find the GCD of 3 + 9i and 7-i
Use the Euclidean algorithm to find the GCD of 3 + 9i and 7-i
Suppose you Do not know anything about Extended Euclidean Algorithm. How to find t(x) and s(x)...
Suppose you Do not know anything about Extended Euclidean Algorithm. How to find t(x) and s(x) that satisfy the greatese common divisor of f(x) and g(x) equals to f(x)t(x)+g(x)s(x) in Q(x). You can give me an example(polynomials) if you want. Thank you!
The Lucas numbers are very similar to the Fibonacci numbers and are defined by a1=2, a2=1,...
The Lucas numbers are very similar to the Fibonacci numbers and are defined by a1=2, a2=1, and an+2=an+1+an. So the first five are 2, 1, 3, 4, 7 and it continues in that fashion. Give the next 4 Lucas numbers
Using C++ use dynamic programming to list first 30 Fibonacci numbers. Fibonacci sequence is famous problem...
Using C++ use dynamic programming to list first 30 Fibonacci numbers. Fibonacci sequence is famous problem solved with recursion. However, this can also be done more efficiently using dynamic programming. Create a program that uses dynamic programming techniques to list the first 30 Fibonacci numbers.
Python: Using Jupyter Notebook 1. Write code to generate Fibonacci series. Fibonacci numbers – 1, 1,...
Python: Using Jupyter Notebook 1. Write code to generate Fibonacci series. Fibonacci numbers – 1, 1, 2, 3, 5, 8, … 2. Check if a number is an Armstrong number A positive integer is called an Armstrong number of order n if abcd... = a^n + b^n + c^n + d^n + ... In case of an Armstrong number of 3 digits, the sum of cubes of each digits is equal to the number itself. For example: 153 = 1*1*1...
The Fibonacci Sequence is a series of integers. The first two numbers in the sequence are...
The Fibonacci Sequence is a series of integers. The first two numbers in the sequence are both 1; after that, each number is the sum of the preceding two numbers. 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ... For example, 1+1=2, 1+2=3, 2+3=5, 3+5=8, etc. The nth Fibonacci number is the nth number in this sequence, so for example fibonacci(1)=1, fibonacci(2)=1, fibonacci(3)=2, fibonacci(4)=3, etc. Do not use zero-based counting; fibonacci(4)is 3, not 5. Your assignment...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT