A026792 List of juxtaposed reverse-lexicographically ordered partitions of the positive integers.
1, 2, 1, 1, 3, 2, 1, 1, 1, 1, 4, 2, 2, 3, 1, 2, 1, 1, 1, 1, 1, 1, 5, 3, 2, 4, 1, 2, 2, 1, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 6, 3, 3, 4, 2, 2, 2, 2, 5, 1, 3, 2, 1, 4, 1, 1, 2, 2, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 4, 3, 5, 2, 3, 2, 2, 6, 1, 3, 3, 1, 4, 2, 1, 2, 2, 2, 1, 5, 1, 1, 3, 2, 1, 1, 4, 1, 1, 1, 2, 2, 1
Offset: 1
Examples
E.g. the partitions of 3 (3,2+1,1+1+1) appear as the string 3,2,1,1,1,1. So the list begins: 1 2, 1, 1, 3, 2, 1, 1, 1, 1, 4, 2, 2, 3, 1, 2, 1, 1, 1, 1, 1, 1, 5, 3, 2, 4, 1, 2, 2, 1, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, ... From _Omar E. Pol_, Sep 03 2013: (Start) Illustration of initial terms: --------------------------------- n j Diagram Partition --------------------------------- . _ 1 1 |_| 1; . _ _ 2 1 |_ | 2, 2 2 |_|_| 1, 1; . _ _ _ 3 1 |_ _ | 3, 3 2 |_ | | 2, 1, 3 3 |_|_|_| 1, 1, 1; . _ _ _ _ 4 1 |_ _ | 4, 4 2 |_ _|_ | 2, 2, 4 3 |_ _ | | 3, 1, 4 4 |_ | | | 2, 1, 1, 4 5 |_|_|_|_| 1, 1, 1, 1; ... (End) From _Gus Wiseman_, May 12 2020: (Start) This sequence can also be interpreted as the following triangle, whose n-th row is itself a finite triangle with A000041(n) rows. Showing these partitions as their Heinz numbers gives A334436. 0 (1) (2)(11) (3)(21)(111) (4)(22)(31)(211)(1111) (5)(32)(41)(221)(311)(2111)(11111) (6)(33)(42)(222)(51)(321)(411)(2211)(3111)(21111)(111111) (End)
Links
- Robert Price, Table of n, a(n) for n = 1..3615, 15 rows.
- OEIS Wiki, Orderings of partitions
- Wikiversity, Lexicographic and colexicographic order
Crossrefs
Programs
-
Mathematica
revcolex[f_,c_]:=OrderedQ[PadRight[{Reverse[c],Reverse[f]}]]; Join@@Table[Sort[IntegerPartitions[n],revcolex],{n,0,8}] (* reverse-colexicographic order, Gus Wiseman, May 10 2020 *) - or - revlex[f_,c_]:=OrderedQ[PadRight[{c,f}]]; Reverse/@Join@@Table[Sort[Reverse/@IntegerPartitions[n],revlex],{n,0,8}] (* reflected reverse-lexicographic order, Gus Wiseman, May 12 2020 *)
Extensions
Terms 81st, 83rd and 84th corrected by Omar E. Pol, Aug 16 2009
Comments