login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033515 Number of matchings in graph C_{3} X P_{n}. 2
1, 4, 32, 228, 1655, 11978, 86731, 627960, 4546684, 32919766, 238352021, 1725762060, 12495193865, 90470101964, 655039004548, 4742739182904, 34339290944491, 248629928211118, 1800178148762579, 13033995507292632, 94371237091674512, 683284752187469642 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Per Hakan Lundow, Computation of matching polynomials and the number of 1-factors in polygraphs, Research reports, No 12, 1996, Department of Mathematics, Umea University.
FORMULA
G.f.: (1 - 2*x - x^2)/(1 - 6*x - 9*x^2 + x^4). - Alois P. Heinz, Dec 09 2013
MAPLE
seq(coeff(series((1-2*x-x^2)/(1-6*x-9*x^2+x^4), x, n+1), x, n), n = 0..30); # G. C. Greubel, Oct 26 2019
MATHEMATICA
LinearRecurrence[{6, 9, 0, -1}, {1, 4, 32, 228}, 30] (* G. C. Greubel, Oct 26 2019 *)
PROG
(PARI) my(x='x+O('x^30)); Vec((1-2*x-x^2)/(1-6*x-9*x^2+x^4)) \\ G. C. Greubel, Oct 26 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( (1-2*x-x^2)/(1-6*x-9*x^2+x^4) )); // G. C. Greubel, Oct 26 2019
(Sage)
def A033515_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P((1-2*x-x^2)/(1-6*x-9*x^2+x^4)).list()
A033515_list(30) # G. C. Greubel, Oct 26 2019
(GAP) a:=[1, 4, 32, 228];; for n in [5..30] do a[n]:=6*a[n-1]+9*a[n-2]-a[n-4]; od; a; # G. C. Greubel, Oct 26 2019
CROSSREFS
Row 3 of A287428.
Sequence in context: A302742 A300210 A302736 * A300799 A303457 A303451
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)