Number of permutations p of [n] such that the sequence of ascents and descents of p is encoded by the 0's and 1's, respectively, in the binary expansion of n (read from right to left and using leading 0's if necessary).
A335308
Number of permutations p of [n] such that the sequence of ascents and descents of p is encoded by the 0's and 1's, respectively, in the binary expansion of n (read from right to left and using leading 0's if necessary).
Terms
- a(0) =1a(1) =0a(2) =0a(3) =1a(4) =3a(5) =16a(6) =26a(7) =20a(8) =69a(9) =370a(10) =1006a(11) =945a(12) =1266a(13) =3015a(14) =2365a(15) =1001a(16) =4367a(17) =24736a(18) =76960a(19) =69615a(20) =138397a(21) =322944a(22) =286824a(23) =133056a(24) =159391a(25) =546504a(26) =978054a(27) =674245a(28) =531530a(29) =957320
External references
- oeis: A335308