OFFSET
1,2
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 totient, divisors, factorial
def A094156(n): return 1 if n == 1 else (sum(totient(m:=(r:=(n<<1)+1)//d)**2*factorial(d)*m**d for d in divisors((n<<1)+1, generator=True))>>2)//r**2+(1<<n-2)*factorial(n) # Chai Wah Wu, Nov 07 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 05 2004
STATUS
approved
