OFFSET
5,3
COMMENTS
Rotations are counted only once, but reflections are considered different. For a polygon to be nondegenerate, the longest side must be shorter than the sum of the remaining sides (equivalently, shorter than n/2).
A formula is given in Section 6 of the East and Niles article.
LINKS
James East, Ron Niles, Integer polygons of given perimeter, arXiv:1710.11245 [math.CO], 2017.
FORMULA
G.f.: x^5*(1 + x - x^2 + 2*x^3 + 7*x^4 + 2*x^5 - 2*x^6 + x^8) / ((1 - x)^5*(1 + x)^4*(1 + x + x^2 + x^3 + x^4)) (conjectured). - Colin Barker, Nov 01 2017
EXAMPLE
For example, there are 6 rotation-classes of perimeter-8 pentagons: 32111, 31211, 31121, 31112, 22211, 22121. Note that 32111 and 31112 are reflections of each other, but these are not rotationally equivalent.
MATHEMATICA
T[n_, k_] := DivisorSum[GCD[n, k], EulerPhi[#]*Binomial[n/#, k/#] &]/n - Binomial[Floor[n/2], k - 1];
a[n_] := T[n, 5];
CROSSREFS
KEYWORD
nonn
AUTHOR
James East, Oct 16 2017
STATUS
approved