|
|
A293818
|
|
Number of integer-sided polygons having perimeter n, modulo rotations and reflections.
|
|
3
|
|
|
1, 1, 3, 5, 10, 16, 32, 54, 102, 180, 336, 607, 1144, 2098, 3960, 7397, 14022, 26452, 50404, 95821, 183322, 350554, 673044, 1292634, 2489502, 4797694, 9264396, 17904220, 34652962, 67125898, 130182972, 252679320, 490918440, 954505718, 1857413460, 3616951513, 7048412792, 13744169104
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
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] ];
|
|
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
|
Row sums of A124287 (k-gon triangle).
Cf. A293820 (polygons modulo rotations only).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|