login
A389173
Number of mutual-visibility sets in the n-sun graph.
0
4, 13, 42, 135, 448, 1505, 5078, 17163, 58044, 196341, 664194, 2246927, 7601272, 25714889, 86992814, 294294547, 995591284, 3368061149, 11394069210, 38545859991, 130399710256, 441139059889, 1492362749830, 5048627019547, 17079382868268, 57779138374085
OFFSET
1,1
COMMENTS
Sequence extended to a(1) using the formula/recurrence.
LINKS
Eric Weisstein's World of Mathematics, Sun Graph.
Eric Weisstein's World of Mathematics, Visibility Polynomial.
FORMULA
G.f.: -x*(4-7*x+x^2-5*x^3+3*x^4)/((-1+x)^2*(-1+3*x+x^2+x^3)).
a(n) = 5*a(n-1)-6*a(n-2)+2*a(n-3)-a(n-4)+a(n-5).
MATHEMATICA
Table[n + RootSum[-1 - # - 3 #^2 + #^3 &, #^n &], {n, 20}]
LinearRecurrence[{5, -6, 2, -1, 1}, {4, 13, 42, 135, 448}, 20]
CoefficientList[Series[-(4 - 7 x + x^2 - 5 x^3 + 3 x^4)/((-1 + x)^2 (-1 + 3 x + x^2 + x^3)), {x, 0, 20}], x]
CROSSREFS
Sequence in context: A289807 A010919 A022029 * A277667 A274952 A010900
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Sep 25 2025
STATUS
approved