OFFSET
1,2
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,-33,36).
FORMULA
G.f.: -x*(10*x^2-6*x+1) / ((3*x-1)^2*(4*x-1)). - Colin Barker, Feb 26 2014
EXAMPLE
a(2) = 4:
10 10 11 11
01 11 01 10
MAPLE
MATHEMATICA
Table[2^(2n-1)-(n+2)*3^(n-2), {n, 30}] (* Wesley Ivan Hurt, Feb 26 2014 *)
LinearRecurrence[{10, -33, 36}, {1, 4, 17}, 50] (* Harvey P. Dale, Sep 15 2019 *)
PROG
(PARI) Vec(-x*(10*x^2-6*x+1)/((3*x-1)^2*(4*x-1)) + O(x^100)) \\ Colin Barker, Feb 26 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane and Vinay Vaishampayan, Jan 05 2007
STATUS
approved