Lets say I have $n+1$ integers $x, x+1, x+2, ..., x+n$ which are unsigned. If I apply a hidden permutation $\sigma$ to the bits (right to left) of each respective number I have $x_0', x_1', x_2'$. ($x=\sum_{i} b_i * 2^i, x_0'=\sum_{i} b_{\sigma(i)} * 2^i, ...$)
I know I can get find $x$ as I know $\sigma$ and thus $\sigma^{-1}$. Is it possible for an attacker to calculate find $x$ or $\sigma$ or $x+n+1$?
For example if I give you 5 integers in 8.
01100100
11100100
00100110
10100110
01100110
Can you derive that $\sigma = (1\ 8\ 5) (2\ 7\ 4\ 3)$ or $x=42$?
My current rough thinking is that you can tell whether $x$ is divisible by two in the first two results by whether one bit turns on or two bits turn off and a new one turns on. Then to find whether divisible by $2^n$ you would need $2^n$ numbers (as the bit change for $2^n$ happens only after all the previous cases?) therefore you would need $2^{n-1}$ previous integers to find $x$ (and thus you could then find $\sigma$ and then $x+n+1$)?
Bonus: what would happen if I now told you I applied an bijective function $f(x)$ (but didn't tell you the definition of $f$) before I applied $\sigma$. Is it possible to find $x$ then?