Question: Question 6 : What is g c d ( n j , n j + 1 ) ? ( i . e . , look

Question 6: What is gcd(nj,nj+1)?(i.e., look at adjacent Fibonacci num-
bers). How many steps does the algorithm take? Do Fibonacci pairs be-
have like your randomly chosen pairs in the previous section? What about
gcd(nj,nj+2)? Is there a pattern here? Try gcd(nj,nj+3).
Your observations should suggest propositions you can try to prove using
the definition of Fibonacci numbers
nj+1=nj+nj-1
and the basic step
gcd(a,b)=gcd(b,r)
in the Euclidean algorithm. In this connection you will find yourself asking, if
you know gcd(a,b), does this help to find gcd(a,mb), where m is an integer?
This is a question about multiplication of integers in general.
Question 6 : What is g c d ( n j , n j + 1 ) ? (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!