cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A051928 Number of independent sets of vertices in graph K_3 X C_n (n > 2).

Original entry on oeis.org

4, 1, 13, 34, 121, 391, 1300, 4285, 14161, 46762, 154453, 510115, 1684804, 5564521, 18378373, 60699634, 200477281, 662131471, 2186871700, 7222746565, 23855111401, 78788080762, 260219353693, 859446141835, 2838557779204, 9375119479441, 30963916217533
Offset: 0

Views

Author

Stephen G Penrice, Dec 19 1999

Keywords

Crossrefs

Row 3 of A287376.

Programs

  • Mathematica
    LinearRecurrence[{2,4,1},{4,1,13},30] (* Harvey P. Dale, Nov 20 2021 *)
  • PARI
    Vec((4-7*x-5*x^2)/((1+x)*(1-3*x-x^2)) + O(x^30)) \\ Colin Barker, May 11 2017

Formula

a(n) = 2*a(n-1) + 4*a(n-2) + a(n-3).
G.f.: (4-7*x-5*x^2)/((1+x)*(1-3*x-x^2)). - Colin Barker, May 22 2012
a(n) = 2*(-1)^n + ((3-sqrt(13))/2)^n + ((3+sqrt(13))/2)^n. - Colin Barker, May 11 2017
a(n) = A006497+2*(-1)^n. - R. J. Mathar, Oct 20 2017