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!)
A288038 Number of independent vertex sets in the n-Andrásfai graph. 1
3, 11, 33, 89, 225, 545, 1281, 2945, 6657, 14849, 32769, 71681, 155649, 335873, 720897, 1540097, 3276801, 6946817, 14680065, 30932993, 65011713, 136314881, 285212673, 595591169, 1241513985, 2583691265, 5368709121, 11140071425, 23085449217, 47781511169 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The independence polynomial is given by I(n,x) = 1+(3*n-1)*x*(x+1)^(n-1).
LINKS
Eric Weisstein's World of Mathematics, Andrásfai Graph
Eric Weisstein's World of Mathematics, Independent Vertex Set
FORMULA
a(n) = 1 + (3*n-1)*2^(n-1).
From Colin Barker, Jun 05 2017: (Start)
G.f.: x*(3 - 4*x + 2*x^2) / ((1 - x)*(1 - 2*x)^2).
a(n) = 5*a(n-1) - 8*a(n-2) + 4*a(n-3) for n>3.
(End)
MATHEMATICA
Table[(3 n - 1) 2^(n - 1) + 1, {n, 20}]
LinearRecurrence[{5, -8, 4}, {3, 11, 33}, 20]
CoefficientList[Series[(-3 + 4 x - 2 x^2)/((-1 + x) (-1 + 2 x)^2), {x, 0, 20}], x]
PROG
(PARI) Vec(x*(3 - 4*x + 2*x^2) / ((1 - x)*(1 - 2*x)^2) + O(x^30)) \\ Colin Barker, Jun 05 2017
(PARI) a(n) = 1 + (3*n-1)*2^(n-1); \\ Michel Marcus, Jun 05 2017
CROSSREFS
Sequence in context: A131747 A295626 A079996 * A186308 A352102 A171270
KEYWORD
nonn,easy
AUTHOR
Andrew Howroyd, Jun 04 2017
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 18 03:01 EDT 2024. Contains 371767 sequences. (Running on oeis4.)