OFFSET
1,3
COMMENTS
Although each path is self-avoiding, the different paths are allowed to intersect.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..500
Ivaylo Kortezov, Sets of Paths between Vertices of a Polygon, Mathematics Competitions, Vol. 35 (2022), No. 2, ISSN:1031-7503, pp. 35-43.
Index entries for linear recurrences with constant coefficients, signature (27,-312,2016,-7986,19998,-31472,29880,-15525,3375).
FORMULA
a(n) = n*(n-1)*2^(-5)*(5^(n-2) + 6*3^(n-2) + 9).
E.g.f.: exp(x)*((x*exp(2*x) + 3*x)/4)^2/2. - Andrew Howroyd, Feb 19 2023
From Andrew Howroyd, Nov 23 2025: (Start)
Binomial transform of A359405.
G.f.: x^2*(1 - 21*x + 183*x^2 - 850*x^3 + 2241*x^4 - 3213*x^5 + 1947*x^6)/((1 - x)*(1 - 3*x)*(1 - 5*x))^3. (End)
EXAMPLE
PROG
(PARI) a(n) = n*(n-1)*2^(-5)*(5^(n-2) + 6*3^(n-2) + 9); \\ Andrew Howroyd, Nov 23 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ivaylo Kortezov, Feb 18 2023
STATUS
approved
