OFFSET
2,1
LINKS
S. W. Golomb and L. R. Welch, On the enumeration of polygons, Amer. Math. Monthly, 67 (1960), 349-353.
PROG
(Python)
from sympy import factorial, divisors, totient
def A094157(n): return 2 if n == 2 else ((sum(totient(m:=(r:=n<<1)//d)**2*factorial(d)*m**d for d in divisors(n<<1, generator=True))+(1<<n-2)*r*(r+6)*factorial(n))>>2)//r**2 # Chai Wah Wu, Nov 07 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 05 2004
STATUS
approved