This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A333939 #6 Apr 16 2020 18:48:33 %S A333939 1,1,1,2,1,2,2,3,1,2,2,4,2,5,4,5,1,2,2,4,2,4,5,7,2,5,4,10,4,10,7,7,1, %T A333939 2,2,4,2,5,5,7,2,5,3,9,5,13,11,12,2,5,5,10,5,11,13,18,4,10,9,20,7,18, %U A333939 12,11,1,2,2,4,2,5,5,7,2,4,4,11,5,14,11,12,2 %N A333939 Number of multisets of compositions that can be shuffled together to obtain the k-th composition in standard order. %C A333939 Number of ways to deal out the k-th composition in standard order to form a multiset of hands. %C A333939 A composition of n is a finite sequence of positive integers summing to n. The k-th composition in standard order (row k of A066099) is obtained by taking the set of positions of 1's in the reversed binary expansion of k, prepending 0, taking first differences, and reversing again. This gives a bijective correspondence between nonnegative integers and integer compositions. %F A333939 For n > 0, Sum_{k = 2^(n-1)..2^n-1} a(k) = A292884(n). %e A333939 The dealings for n = 1, 3, 7, 11, 13, 23, 43: %e A333939 (1) (11) (111) (211) (121) (2111) (2211) %e A333939 (1)(1) (1)(11) (1)(21) (1)(12) (11)(21) (11)(22) %e A333939 (1)(1)(1) (2)(11) (1)(21) (1)(211) (1)(221) %e A333939 (1)(1)(2) (2)(11) (2)(111) (21)(21) %e A333939 (1)(1)(2) (1)(1)(21) (2)(211) %e A333939 (1)(2)(11) (1)(1)(22) %e A333939 (1)(1)(1)(2) (1)(2)(21) %e A333939 (2)(2)(11) %e A333939 (1)(1)(2)(2) %t A333939 nn=100; %t A333939 comps[0]:={{}};comps[n_]:=Join@@Table[Prepend[#,i]&/@comps[n-i],{i,n}]; %t A333939 sps[{}]:={{}};sps[set:{i_,___}]:=Join@@Function[s,Prepend[#,s]&/@sps[Complement[set,s]]]/@Cases[Subsets[set],{i,___}]; %t A333939 dealings[q_]:=Union[Function[ptn,Sort[q[[#]]&/@ptn]]/@sps[Range[Length[q]]]]; %t A333939 Table[Length[dealings[stc[n]]],{n,0,nn}] %Y A333939 Multisets of compositions are counted by A034691. %Y A333939 Combinatory separations of normal multisets are counted by A269134. %Y A333939 Dealings with total sum n are counted by A292884. %Y A333939 Length of co-Lyndon factorization of binary expansion is A329312. %Y A333939 Length of Lyndon factorization of reversed binary expansion is A329313. %Y A333939 All of the following pertain to compositions in standard order (A066099): %Y A333939 - Length is A000120. %Y A333939 - Necklaces are A065609. %Y A333939 - Sum is A070939. %Y A333939 - Runs are counted by A124767. %Y A333939 - Rotational symmetries are counted by A138904. %Y A333939 - Strict compositions are A233564. %Y A333939 - Constant compositions are A272919. %Y A333939 - Lyndon words are A275692. %Y A333939 - Co-Lyndon words are A326774. %Y A333939 - Aperiodic compositions are A328594. %Y A333939 - Length of Lyndon factorization is A329312. %Y A333939 - Distinct rotations are counted by A333632. %Y A333939 - Co-Lyndon factorizations are counted by A333765. %Y A333939 - Lyndon factorizations are counted by A333940. %Y A333939 - Length of co-Lyndon factorization is A334029. %Y A333939 - Combinatory separations are A334030. %Y A333939 Cf. A000031, A000740, A001037, A008965, A027375, A059966, A060223, A211100, A328595, A328596, A333764, A333943. %K A333939 nonn %O A333939 0,4 %A A333939 _Gus Wiseman_, Apr 15 2020