OFFSET
1,3
LINKS
J. F. Rigby, Multiple intersections of diagonals of regular polygons, and related topics, Geom. Dedicata 9 (1980), 207-238.
Alexander Sidorenko, Explicit Formulas for Odd-Indexed Terms in A344899, A146212, and A344857.
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 2*n^4 - 11*n^3 + 23*n^2 - 21*n + 7.
G.f.: x^2*(1 + 11*x + 29*x^2 + 7*x^3)/(1 - x)^5. - Stefano Spezia, Jun 04 2021
EXAMPLE
a(3) = 16 as the five connected vertices form eleven polygons inside the regular pentagon while also forming five triangles outside the pentagon, giving sixteen polygons in total.
PROG
(Python)
def A344866(n): return n*(n*(n*(2*n - 11) + 23) - 21) + 7 # Chai Wah Wu, Sep 12 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Scott R. Shannon, Jun 01 2021
EXTENSIONS
Edited by N. J. A. Sloane, Sep 12 2021
STATUS
approved