Let a and b be the two roots of x2−7x−1=0.
Define the symmetric power sum Sn=an+bn for any positive integer n.
Case 1: Deriving a recurrence for Sn
Because a and b satisfy x2−7x−1=0, we have a2=7a+1 and b2=7b+1.
Multiply these identities by an−2 and bn−2 respectively (for n≥2):
an=7an−1+an−2,bn=7bn−1+bn−2
Adding the two equalities gives the recurrence relation
Sn=7Sn−1+Sn−2for n≥2 −(1)
Case 2: Expressing S21 in terms of lower sums
Use the recurrence twice:
S21=7S20+S19 (from (1) with n=21)
S20=7S19+S18 (from (1) with n=20)
Substitute the second equation into the first:
S21=7(7S19+S18)+S19=49S19+7S18+S19=50S19+7S18 −(2)
Case 3: Expressing S17 in terms of S19 and S18
Apply (1) with n=19:
S19=7S18+S17⟹S17=S19−7S18 −(3)
Case 4: Forming the required numerator
Add (2) and (3):
S21+S17=(50S19+7S18)+(S19−7S18)=51S19 −(4)
Case 5: Computing the desired expression
The denominator is simply S19, hence
a19+b19a21+b21+a17+b17=S19S21+S17=S1951S19=51
Therefore, the required value is 51.