The sequence {an}n≥1 is defined by an+2=7an+1−an for positive integers n with initial values a1=1 and a2=8. Another sequence, {bn}, is defined by the rule bn+2=3bn+1−bn for positive integers n together with the values b1=1 and b2=2. Find gcd(a5000,b501).
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
We show by induction that an=F4n−2 and bn=F2n−1, where Fk is the k th Fibonacci number. The base cases are clear. As for the inductive steps, note that Fk+2=Fk+1+Fk=2Fk+Fk−1=3Fk−Fk−2 and Fk+4=3Fk+2−Fk=8Fk+3Fk−2=7Fk−Fk−4 We wish to compute the greatest common denominator of F19998 and F1001. The Fibonacci numbers satisfy the property that gcd(Fm,Fn)=Fgcd(m, n)}, which can be proven by noting that they are periodic modulo any positive integer. So since gcd(19998,1001)=11, the answer is F_{11}=89$.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: Omni-MATH,
licensed Apache-2.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.