Total number of occurrences of the consecutive step pattern given by the binary expansion of n (where 1=up and 0=down) in all permutations of [n].

A249249

Total number of occurrences of the consecutive step pattern given by the binary expansion of n (where 1=up and 0=down) in all permutations of [n].

Terms

    a(0) =0a(1) =0a(2) =0a(3) =1a(4) =3a(5) =50a(6) =270a(7) =840a(8) =5376a(9) =166320a(10) =2903040a(11) =20956320a(12) =191600640a(13) =4203239040a(14) =29059430400a(15) =119870150400

External references