OFFSET
0,1
COMMENTS
Let (t) be any recurrence of the form (5,5,-1) or of the form (6,-1). Then the following always applies: a(n) = (t(i+3*n) - (-1)^n*t(i))/(t(i+2*n) - (-1)^n*t(i+n)) regardless of initial values as long as t(i+2*n) - (-1)^n*t(i+n) != 0 for n >= 1 and any integer i. - Klaus Purath, Sep 07 2025
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,5,-1).
FORMULA
G.f.: (3 - 10*x - 5*x^2)/((1 + x) * (1 - 6*x + x^2)).
a(n) = Pell(3*n)/Pell(n) for n > 0.
MATHEMATICA
LinearRecurrence[{5, 5, -1}, {3, 5, 35}, 25] (* Paolo Xausa, Jul 03 2025 *)
PROG
(PARI) my(N=30, x='x+O('x^N)); Vec((3-10*x-5*x^2)/((1+x)*(1-6*x+x^2)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, May 07 2025
STATUS
approved
