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!)
A261857 Number of compositions of n into distinct parts where each part i is marked with a word of length i over a senary alphabet whose letters appear in alphabetical order and all letters occur at least once in the composition. 2

%I #4 Sep 03 2015 14:48:59

%S 403,3090,26523,178456,4328268,11655792,55380132,203857488,908020203,

%T 15089942326,32659354659,119798424120,366557119686,1229877368940,

%U 4069268482608,64750089252368,122070519766665,408439013722194,1090232738714433,3275624230408044

%N Number of compositions of n into distinct parts where each part i is marked with a word of length i over a senary alphabet whose letters appear in alphabetical order and all letters occur at least once in the composition.

%C Also number of matrices with six rows of nonnegative integer entries and without zero rows or columns such that the sum of all entries is equal to n and the column sums are distinct.

%H Alois P. Heinz, <a href="/A261857/b261857.txt">Table of n, a(n) for n = 6..2500</a>

%F a(n) = A261836(n,6).

%p b:= proc(n, i, p, k) option remember;

%p `if`(i*(i+1)/2<n, 0, `if`(n=0, p!, b(n, i-1, p, k)+

%p `if`(i>n, 0, b(n-i, i-1, p+1, k)*binomial(i+k-1, k-1))))

%p end:

%p a:= n->(k->add(b(n$2, 0, k-i)*(-1)^i*binomial(k, i), i=0..k))(6):

%p seq(a(n), n=6..30);

%Y Column k=6 of A261836.

%K nonn

%O 6,1

%A _Alois P. Heinz_, Sep 03 2015

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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)