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!)
A318796 Number of 2n-length words w over an n-ary alphabet {a1, a2, ..., an} such that #(w,a1) >= #(w,a2) >= ... >= #(w,an) >= 1, where #(w,x) counts the letters x in word w. 2
1, 1, 10, 180, 6496, 322560, 25098480, 2437475040, 322951749120, 51882551360640, 10494386800934400, 2503138912988313600, 720738068391525381120, 239324670990042333696000, 92995858936970165240064000, 41062460981196018797072640000, 20742554869763399771711348736000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A226874(2n,n).
EXAMPLE
a(2) = 10: aaab, aaba, aabb, abaa, abab, abba, baaa, baab, baba, bbaa.
MAPLE
b:= proc(n, i, t) option remember;
`if`(t=1, 1/n!, add(b(n-j, j, t-1)/j!, j=i..n/t))
end:
a:= n-> `if`(n=0, 1, (2*n)!*b(2*n, 1, n)):
seq(a(n), n=0..20);
MATHEMATICA
b[n_, i_, t_] := b[n, i, t] =
If[t == 1, 1/n!, Sum[b[n-j, j, t-1]/j!, {j, i, n/t}]];
a[n_] := If[n == 0, 1, (2n)! b[2n, 1, n]];
Table[a[n], {n, 0, 20}] (* Jean-François Alcover, May 05 2022, after Alois P. Heinz *)
CROSSREFS
Cf. A226874.
Sequence in context: A001762 A034908 A030048 * A054918 A095807 A064092
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 03 2018
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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)