Let $P(n)$ of a sequence $s(1),s(2),s(3),...$ be obtained by leaving $s(1),...,s(n-1)$ fixed and reversing every n consecutive terms thereafter; apply $P(2)$ to $1,2,3,...$ to get $PS(2)$, then apply $P(3)$ to $PS(2)$ to get $PS(3)$, then apply $P(4)$ to $PS(3)$, etc. The limit of $PS(n)$ is $a(n)$ ([A057030][1]).

The sequence begins
$$1, 3, 4, 6, 11, 13, 14, 22, 27, 29, 40, 42, 47, 55, 66$$

Let
$$b(n,m)=(m-n)\left\lfloor\frac{b(n-1,m)}{m-n}+1\right\rfloor - b(n-1,m)\operatorname{mod}(m-n), b(0,m)=m$$

I conjecture that
$$a(n)=b(n-1,n)$$

Is there a way to prove it?

  [1]: https://oeis.org/A057030