OFFSET
0,2
COMMENTS
LINKS
Dror Bar-Natan, The Rolfsen Knot Table.
Index entries for linear recurrences with constant coefficients, signature (5,-7).
FORMULA
a(n) = Sum_{k=0..floor(n/2)} binomial(n-k, k)*(-7)^k*5^(n-2k).
a(n) = 5*a(n-1) - 7*a(n-2), a(0)=1, a(1)=5. - Philippe Deléham, Nov 15 2008
E.g.f.: exp(5*x/2) * (cos(sqrt(3)*x/2) + 5*sin(sqrt(3)*x/2)/sqrt(3)). - Amiram Eldar, Feb 10 2026
MATHEMATICA
CoefficientList[Series[1/(1-5x+7x^2), {x, 0, 40}], x] (* or *) LinearRecurrence[ {5, -7}, {1, 5}, 40] (* Harvey P. Dale, Oct 21 2016 *)
PROG
(SageMath) [lucas_number1(n, 5, 7) for n in range(1, 30)] # Zerinvary Lajos, Apr 22 2009
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, Oct 16 2004
STATUS
approved
