OFFSET
0,1
LINKS
FORMULA
Sequence satisfies -11 = f(a(n), a(n+1)) where f(u, v) = u^2 + v^2 - 4*u*v.
G.f.: (2 - 5*x) / (1 - 4*x + x^2). a(n) = (11 + a(n-1)^2) / a(n-2).
MATHEMATICA
LinearRecurrence[{4, -1}, {2, 3}, 30] (* Harvey P. Dale, Aug 29 2015 *)
PROG
(PARI) {a(n) = real( (2 + quadgen(12))^n * ( 2 - 1 / quadgen(12) ))}
(PARI) {a(n) = subst( (4*polchebyshev(n) + polchebyshev(n-1)) / 3, x, 2)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Sep 19 2008
STATUS
approved