Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #37 Jul 21 2019 08:22:57
%S 1,-1,1,-1,0,1,1,-1,1,-1,0,0,1,1,-1,0,2,1,0,-1,2,-1,1,-1,1,-1,0,0,0,1,
%T 1,-1,0,0,3,1,0,-1,0,5,-1,1,-1,0,3,1,0,0,-1,3,-1,1,0,-2,5,-1,0,1,-2,3,
%U 1,-1,1,-1,1,-1,0,0,0,0,1,1,-1,0,0,0,4,1,0,-1,0,0,9
%N Table of coefficients of up-down polynomials P_n(m) = Sum_{i=0..floor(log_2(2n))} binomial(m,i).
%C For a permutation s = (s_1,...,s_m), the number n = Sum_{j=1..m-1} b_j*2^(m-i-1), where b_j=1, if s_(j+1) > s_j, and b_j=0, if s_(j+1) < s_j, is called index of s. Up-down polynomial P_n(m) gives the number of permutations with index n.
%C If n = 2^(k_1-1) + 2^(k_2-1) + ... + 2^(k_r-1), k_1 > ... > k_r >= 1, then k_1,k_2,...,k_r are only positive roots of the polynomial P_n(m).
%C If F(m,x) = Sum_{n>=0} P_n(m)*x^n and t(x) = Sum_{n>=0} t_n*x^n (|x|<1), where t_n = (-1)^A010060(n), then F(m,x)/t(x) is a rational function.
%C The sequence {n_k} for which P_(n_k)(m) has a root m=-1 begins 2, 5, 8, 11, 23, ...
%C If n is in A089633, then P_n(m) has only real roots.
%C Remark from the author. Ivan Niven posed the problem of enumeration of permutations of n elements with a given up-down structure. He introduced (n-1)-dimensional parameter (Niven's signature) and did the enumeration in a determinant form, but did not find simple relations. Therefore, the title of his paper includes the word "problem". Instead of his many-dimensional parameter, the author introduced one-dimensional parameter (index). It allowed us to find many simple relations and properties for the enumeration numbers which is called up-down coefficients since they have many close properties with the binomial coefficients. In particular, they give a decomposition of Eulerian numbers. Many other relations will appear in the paper by the author and U. Spilker (to appear), where, in particular, we prove that the enumeration numbers are maximal when the index corresponds to the alternating (or Andre) permutations.
%D I. Niven, A combinatorial problem of finite sequences, Nieuw Arch. Wisk. 16(1968), 116-123.
%H V. Shevelev, <a href="http://www.emis.de/journals/INTEGERS/papers/m1/m1.Abstract.html">The number of permutations with prescribed up-down structure as a function of two variables</a>, INTEGERS 12 (2012), article #A1.
%F Sum_{n=0..2^(m-1)} P_n(m) = m!;
%F Sum_{n=0..2^m-1} (-1)^n*P_n(m) = 0.
%F P_{2^m-1}(2*m) = binomial(2*m-1, m-1);
%F P_{2^m-1}(2*m+1) = binomial(2*m, m).
%F If m is an odd prime, then
%F (1) P_n(m) == t_n (mod m), where t_n = (-1)^A010060(n);
%F (2) P_((2^(m+1)-4)/6)(m) == (-1)^((m-1)/2) (mod m);
%F (3) P_((2^(2*m+1)-2)/6)(2*m) == 1 (mod 2*m).
%F For m >= 1, P_((2^(2^m+1)-2)/6)(2^m) == 1 (mod 2^m).
%F P_((4^m-1)/3)(2*m) = |E_(2*m)| (cf. A000364);
%F P_((2^(2*m-1)-1)/3) = |B_(2*m)|*4^m(4^m-1)/(2*m) (cf. A002105).
%F If n = 2^(k_1-1) + 2^(k_2-1) + ... + 2^(k_r-1), k_1 > k_2 > ... > k_r >= 1, then
%F (Recursion 1) P_n(m) = (-1)^r + Sum_{i=1..r} binomial(m,k_i)*P_(n-2^(k_i-1))(k_i) and
%F (Recursion 2) for h > k_1, P_(n+2^(h-1))(m) = binomial(m,h)*P_n(h) - P_n(m).
%e Table begins
%e 1
%e -1 1
%e -1 0 1
%e 1 -1 1
%e -1 0 0 1
%e 1 -1 0 2
%e 1 0 -1 2
%e -1 1 -1 1
%e -1 0 0 0 1
%e 1 -1 0 0 3
%e 1 0 -1 0 5
%e -1 1 -1 0 3
%e 1 0 0 -1 3
%e -1 1 0 -2 5
%e -1 0 1 -2 3
%e 1 -1 1 -1 1
%e -1 0 0 0 0 1
%e 1 -1 0 0 0 4
%e 1 0 -1 0 0 9
%Y Cf. A010060, A000984, A000364, A002105, A008292.
%K sign,tabf
%O 0,17
%A _Vladimir Shevelev_, Jan 06 2012