The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A339178 Irregular triangle read by rows in which row n lists the compositions (ordered partitions) of n into distinct parts in reverse lexicographic order. 1

%I #4 Nov 26 2020 09:17:06

%S 1,2,3,2,1,1,2,4,3,1,1,3,5,4,1,3,2,2,3,1,4,6,5,1,4,2,3,2,1,3,1,2,2,4,

%T 2,3,1,2,1,3,1,5,1,3,2,1,2,3,7,6,1,5,2,4,3,4,2,1,4,1,2,3,4,2,5,2,4,1,

%U 2,1,4,1,6,1,4,2,1,2,4,8,7,1,6,2,5,3,5,2,1,5,1,2,4,3,1,4,1,3,3,5,3,4,1,3,1,4,2,6,2,5,1,2,1,5,1,7,1,5,2,1,4,3,1,3,4,1,2,5

%N Irregular triangle read by rows in which row n lists the compositions (ordered partitions) of n into distinct parts in reverse lexicographic order.

%H <a href="/index/Com#comp">Index entries for sequences related to compositions</a>

%e Triangle begins:

%e [1],

%e [2],

%e [3], [2, 1], [1, 2],

%e [4], [3, 1], [1, 3],

%e [5], [4, 1], [3, 2], [2, 3], [1, 4],

%e ...

%t Table[Sort[Join @@ Permutations /@ Select[IntegerPartitions[n], UnsameQ @@ # &], OrderedQ[PadRight[{#2, #1}]] &], {n, 8}] // Flatten

%Y Cf. A026793, A066099, A097910 (row lengths), A118457, A228369, A246688, A304797 (row sums).

%K nonn,tabf

%O 1,2

%A _Ilya Gutkovskiy_, Nov 26 2020

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 May 13 09:38 EDT 2024. Contains 372504 sequences. (Running on oeis4.)