A372119 Numbers k such that the k-th composition in standard order is not biquanimous.
1, 2, 4, 5, 6, 7, 8, 9, 12, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 40, 42, 48, 49, 56, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96
Offset: 1
Keywords
Examples
The terms and corresponding compositions begin: 1: (1) 2: (2) 4: (3) 5: (2,1) 6: (1,2) 7: (1,1,1) 8: (4) 9: (3,1) 12: (1,3) 16: (5) 17: (4,1) 18: (3,2) 19: (3,1,1) 20: (2,3) 21: (2,2,1) 22: (2,1,2) 23: (2,1,1,1)
Crossrefs
These compositions are counted by A371956.
Programs
-
Mathematica
stc[n_]:=Differences[Prepend[Join @@ Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse; Select[Range[0,100],!MemberQ[Total/@Subsets[stc[#]], Total[stc[#]]/2]&]
Comments