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!)
A261841 Number of compositions of n into distinct parts where each part i is marked with a word of length i over a ternary alphabet whose letters appear in alphabetical order. 2
1, 3, 6, 46, 75, 231, 1414, 2376, 5985, 14151, 89454, 135330, 343677, 697017, 1657212, 9439826, 14381055, 33119667, 66361286, 141451860, 283907499, 1642516411, 2346737106, 5367877296, 10093521943, 20923900623, 38428831710, 80538197724, 416229711735 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Also matrices with three rows of nonnegative integers with distinct positive column sums and total element sum n.
LINKS
MAPLE
b:= proc(n, i, p) option remember;
`if`(i*(i+1)/2<n, 0, `if`(n=0, p!, b(n, i-1, p)+
`if`(i>n, 0, b(n-i, i-1, p+1)*binomial(i+2, 2))))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..40);
CROSSREFS
Column k=3 of A261835.
Sequence in context: A137775 A038050 A194080 * A197884 A279706 A032322
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 03 2015
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 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)