OFFSET
3,3
COMMENTS
Rotations and reversals are counted only once. For a polygon to be nondegenerate, the longest side must be shorter than the sum of the remaining sides. These are row sums of A124287.
A formula is proved in Theorem 1.6 of the East and Niles article.
The same article shows that a(n) is asymptotic to 2^(n-1) / n.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 3..200
James East, Ron Niles, Integer polygons of given perimeter, arXiv:1710.11245 [math.CO], 2017.
EXAMPLE
There are 10 polygons having perimeter 7: 2 triangles, 3 quadrilaterals, 3 pentagons, 1 hexagon and 1 heptagon.
MATHEMATICA
a[n_] := DivisorSum[n, EulerPhi[n/#]*2^# &]/(2*n) + 2^Floor[(n - 3)/2] - If[Mod[n, 4] < 2, 3*2^Floor[(n - 4)/4], 2^Floor[(n + 2)/4] ];
Table[a[n], {n, 3, 40}] (* Jean-François Alcover, Jun 14 2018, after Andrew Howroyd *)
PROG
(PARI) a(n)={sumdiv(n, d, eulerphi(n/d)*2^d)/(2*n) + 2^floor((n-3)/2) - if(n%4<2, 3*2^floor((n-4)/4), 2^floor((n+2)/4))} \\ Andrew Howroyd, Nov 21 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
James East, Oct 16 2017
STATUS
approved