|
|
A323260
|
|
Number of horizontally convex polyoctagons containing n regular polygons (squares or octagons).
|
|
9
|
|
|
0, 2, 6, 24, 96, 390, 1582, 6422, 26062, 105768, 429228, 1741898, 7068978, 28687370, 116419254, 472453328, 1917312976, 7780851238, 31576298030, 128143125598, 520031215214, 2110393854816, 8564413235420, 34756154117738, 141047636989250, 572400382184434, 2322918728158854, 9426882974883464
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f. = 2*x*(1-x)^3*(1+x)/(1-5*x+3*x^2+5*x^3-7*x^4+x^5).
a(n) = 5*a(n-1) - 3*a(n-2) - 5*a(n-3) + 7*a(n-4) - a(n-5) for n>5. - Colin Barker, Jan 10 2019
|
|
MATHEMATICA
|
CoefficientList[Series[2*x*(1-x)^3*(1+x)/(1-5*x+3*x^2+5*x^3-7*x^4+x^5), {x, 0, 27}], x] (* Amiram Eldar, Jan 10 2019 *)
|
|
PROG
|
(PARI) concat(0, Vec(2*x*(1 - x)^3*(1 + x) / (1 - 5*x + 3*x^2 + 5*x^3 - 7*x^4 + x^5) + O(x^30))) \\ Colin Barker, Jan 10 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|