Suppose I have a set whose cardinality is a power of 2, i.e. made of $N=2^n$ elements. If we consider the group of all the permutations of this set (the symmetric group $S_N$), we can say that it has $(2^n)!$ elements. Now suppose I define a family of partitions of this set, specifically a tree of binary partitions: I divide the set into two equipotent subsets (i.e., I define a binary partition), then I divide each subset into two equipotent sub-subsets, and so on, until I obtain single-element sets. It is easy to show that the number of subdivision is n.
The penultimate level of partitions (before we obtain singletons), which I identify by $k=1$, has $N/2$ (or $2^{(n-1)}$) subsets. I consider the permutations within each two-element subset (which are two). They generate $2^{(N/2)}$ possible permutations of the elements in the set, because the subsets are $N/2$.
Then I go to the larger set level (the $k=2$ one): it has $N/4$ subsets, each one has two of the k=1 level subsets. I consider the operation that exchanges the two k=1 level subsets within each two $k=2$ level subset. We have $2^{(N/4)}$ possible permutations of the subsets of the $k=2$ level subset because the subsets are $N/4$.
I go on until I reach the largest set ($k=1$), which has 2 permutations of its subsets (of $N/2$ elements). If I multiply the permutations I can apply for each level, I obtain that they are $2^{(2^n-1)}$. Is it easy to verify that this number is less than $N!$, the total number of permutations of the group. Thus, if we apply the permutations only within each subset of the binary partition tree, we cannot reach all the permutations of the large set.
This is not surprising because there is not only one possible binary tree of partitions. We can divide the starting set in two equipotent subsets in many ways, and the same applies to his subsets. If we consider all the binary trees of partitions, and count all the possible exchanges within each binary partition at each level, then we can reach all the permutations of the large set.
Is it true? Is it a known result?
ChatGPT (Wolfram GPT) told me that what I am describing is Sylow 2-subgroup of $S_{2^n}$, and that: "Yes — this is essentially known and related to the fact that:
The full symmetric group $S_N$ can be generated by the union of all Sylow 2-subgroups (and their conjugates), which correspond exactly to permutations that arise from binary tree structures with different underlying partitions."
Is that true? Are there references for this topic?
UPDATE I found a related question here