Finding GCD with Fibonacci: Base Case

Click For Summary
SUMMARY

The discussion centers on proving by induction that for m divisions required to find the GCD of two numbers a and b, the conditions a ≥ F(m+2) and b ≥ F(m+1) hold true, where F(n) represents the Fibonacci sequence defined by F(n) = F(n-1) + F(n-2). Participants express confusion about establishing the base case and the induction step for this proof. The Euclidean algorithm is referenced as the method for computing the GCD, emphasizing its relationship with the Fibonacci sequence.

PREREQUISITES
  • Understanding of the Fibonacci sequence and its properties
  • Familiarity with the Euclidean algorithm for finding GCD
  • Knowledge of mathematical induction techniques
  • Basic number theory concepts
NEXT STEPS
  • Study the principles of mathematical induction in depth
  • Review the properties of the Fibonacci sequence and its applications
  • Explore the Euclidean algorithm and its efficiency in GCD calculations
  • Investigate examples of GCD proofs using induction
USEFUL FOR

Students in mathematics, particularly those studying number theory, computer science students learning algorithms, and anyone interested in mathematical proofs involving the Fibonacci sequence and GCD calculations.

RoboNerd
Messages
410
Reaction score
11

Homework Statement



Suppose that m divisions are required to find gcd(a,b). Prove by induction that for m >= 1, a >= F(m+2) and b>= F(m+1) where F(n) is the Fibonacci sequence.

Hint: to find gcd(a,b), after the first division the algorithm computes gcd(b,r).

Homework Equations



Fibonacci Sequence: [/B]F(n) = F(n-1) + F(n-2)

Euclidean algorithm for finding the GCD of two numbers.

The Attempt at a Solution


[/B]
Hi everyone,

I know that the fibonacci sequence [F(n) = F(n-1) + F(n-2)] looks a lot like the expression
num = q*x + r, which is the expression for a number being divided by x with a quotient q and remainder r.

I know that I am supposed to prove by induction that for m >= 1, a >= F(m+2) and b>= F(m+1) where F(n) is the Fibonacci sequence, but I have no idea how to get started even with the base case or how to prove it.

Any guidance would be greatly appreciated. Thanks
 
Physics news on Phys.org
RoboNerd said:

Homework Statement



Suppose that m divisions are required to find gcd(a,b). Prove by induction that for m >= 1, a >= F(m+2) and b>= F(m+1) where F(n) is the Fibonacci sequence.

Hint: to find gcd(a,b), after the first division the algorithm computes gcd(b,r).

Homework Equations



Fibonacci Sequence: [/B]F(n) = F(n-1) + F(n-2)

Euclidean algorithm for finding the GCD of two numbers.

The Attempt at a Solution


[/B]
Hi everyone,

I know that the fibonacci sequence [F(n) = F(n-1) + F(n-2)] looks a lot like the expression
num = q*x + r, which is the expression for a number being divided by x with a quotient q and remainder r.

I know that I am supposed to prove by induction that for m >= 1, a >= F(m+2) and b>= F(m+1) where F(n) is the Fibonacci sequence, but I have no idea how to get started even with the base case or how to prove it.

Any guidance would be greatly appreciated. Thanks
For a base case, chose the smallest (distinct) positive integers. How many divisions does it take to find their gcd? What are the corresponding fibonacci numbers?
 

Similar threads

Replies
5
Views
2K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K