login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..128.

Index entries for sequences related to compositions

EXAMPLE

Triangle begins:

[1],

[2],

[3], [2, 1], [1, 2],

[4], [3, 1], [1, 3],

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

...

MATHEMATICA

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

CROSSREFS

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

Sequence in context: A076839 A092542 A321305 * A026552 A333271 A208233

Adjacent sequences:  A339175 A339176 A339177 * A339179 A339180 A339181

KEYWORD

nonn,tabf

AUTHOR

Ilya Gutkovskiy, Nov 26 2020

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 15 15:16 EDT 2021. Contains 345049 sequences. (Running on oeis4.)