OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Jeremiah Bartz, Bruce Dearden, and Joel Iiams, Counting families of generalized balancing numbers, The Australasian Journal of Combinatorics (2020) Vol. 77, Part 3, 318-325.
Index entries for linear recurrences with constant coefficients, signature (14,-51,54).
FORMULA
a(n) = 14*a(n-1) - 51*a(n-2) + 54*a(n-3); a(n) = (4/7)*2^(n-1) + (-3/2)*3^(n-1) + (27/14)*9^(n-1). - Antonio Alberto Olivares, Apr 21 2008, Apr 22 2008
MATHEMATICA
CoefficientList[Series[1 / ((1 - 2 x) (1 - 3 x) (1 - 9 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jun 24 2013 *)
PROG
(PARI) Vec(1/((1-2*x)*(1-3*x)*(1-9*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-2*x)*(1-3*x)*(1-9*x)))); // Vincenzo Librandi, Jun 24 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved