OFFSET
2,2
COMMENTS
The maximum number of steps that the homing algorithm can take to sort a permutation of length n is 2^(n-1)-1. This sequence counts permutations for which it is possible to use these many steps.
REFERENCES
S. Elizalde and P. Winkler, Sorting by Placement and Shift, Proceedings of the Twentieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2009.
LINKS
S. Elizalde and P. Winkler, Sorting by placement and shift
FORMULA
a(n) is the coefficient of t^n in the generating function F(t,t), where F(u,v) satisfies the partial differential equation F(u,v)=u*v+u*v*D_u(f)+u*v*D_v(f)-u^2*v^2*D_u(D_v(f)).
CROSSREFS
KEYWORD
nonn
AUTHOR
Sergi Elizalde, Feb 18 2010
STATUS
approved