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!)
A348703 a(n) = Sum_{x_1+x_2+ ... +x_n=n, 0 <= x_1, x_2, ... , x_n <= n} ((n-1)*n)!/((n-x_1)! * (n-x_2)! * ... * (n-x_n)!). 3
1, 1, 4, 510, 6745200, 19038823123320, 19549762329157865925120, 11131011767163918530071193512089600, 4977434038774545402380656971924547417738384800000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
PROG
(Ruby)
def f(n)
return 1 if n < 2
(1..n).inject(:*)
end
def A(k, n)
sum = 0
m = f((k - 1) * n)
(0..n).to_a.repeated_permutation(k){|i|
if (0..k - 1).inject(0){|s, j| s + i[j]} == n
sum += m / (0..k - 1).inject(1){|s, j| s * f(n - i[j])}
end
}
sum
end
def A348703(n)
(0..n).map{|i| A(i, i)}
end
p A348703(7)
CROSSREFS
Sequence in context: A253904 A268468 A278878 * A291830 A368370 A003393
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Oct 30 2021
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 09:14 EDT 2024. Contains 371967 sequences. (Running on oeis4.)