OFFSET
0,1
COMMENTS
For n >= 3, also the number of mutual-visibility sets in the n-dipyramidal graph.
LINKS
Eric Weisstein's World of Mathematics, Dipyramidal Graph.
Eric Weisstein's World of Mathematics, Visibility Polynomial.
Index entries for linear recurrences with constant coefficients, signature (4,-5,2).
FORMULA
G.f.: (-4+6*x+x^2)/((-1+x)^2*(-1+2*x)).
a(n) = 4*a(n-1)-5*a(n-2)+2*a(n-3).
From Enrique Navarrete, Jan 25 2026: (Start)
a(n+1) - a(n) = 3*A000051(n).
E.g.f.: exp(x)*(3*exp(x) + 3*x + 1). (End)
MATHEMATICA
Table[3 2^n + 3 n + 1, {n, 0, 20}]
LinearRecurrence[{4, -5, 2}, {10, 19, 34}, {0, 20}]
CoefficientList[Series[(-4 + 6 x + x^2)/((-1 + x)^2 (-1 + 2 x)), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Sep 25 2025
STATUS
approved
