login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094156 Bisection of A000940. 3
1, 4, 39, 1219, 83435, 9223092, 1453132944, 307690667072, 84241805734539, 28963120073957838, 12217399235411398127, 6204484017822892034404, 3734180195629471796396217, 2628347798377200707293720724, 2139135966227357959535426526975, 1993415431315860419823374898234950 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A341473 A086217 A203197 * A266859 A049475 A264084
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 05 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 00:03 EDT 2024. Contains 372257 sequences. (Running on oeis4.)