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!)
A038043 Number of ways to partition a labeled set into 2-colored subsets of equal size. 0
2, 4, 4, 10, 4, 54, 4, 284, 564, 2146, 4, 64068, 4, 273706, 3055056, 9322174, 4, 455865986, 4, 7379708912, 72557376324, 27499326586, 4, 28169911778038, 10389345718756, 15811717561854, 5955168301010504, 26845490776452304, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = Sum_{ d divides n } ((2*n!)/(d!*((n/d)!)^d)).
a(n) = 2 * A038041(n). - Sean A. Irvine, Jan 05 2021
MAPLE
with(numtheory): for n from 1 to 50 do d := divisors(n): s := 0: for k from 1 to nops(d) do s := s +(2*n!)/(d[k]!*((n/d[k])!)^d[k]) od: printf(`%d, `, s) od:
PROG
(PARI) a(n) = sumdiv(n, d, ((2*n!)/(d!*((n/d)!)^d))); \\ Michel Marcus, Jan 05 2021
CROSSREFS
Cf. A038041.
Sequence in context: A253827 A186987 A300549 * A126138 A366575 A363641
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from James A. Sellers, Feb 19 2001
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 March 29 00:26 EDT 2024. Contains 371264 sequences. (Running on oeis4.)