cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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).

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 3
5 16
6 26
7 20
8 69
9 370
10 1006
11 945
12 1266
13 3015
14 2365
15 1001
16 4367
17 24736
18 76960
19 69615
20 138397
21 322944
22 286824
23 133056
24 159391
25 546504
26 978054
27 674245
28 531530
29 957320
30 495495
31 142506
32 906191
33 5537808
34 18828096
35 16231039
36 37000909
37 81351936
38 71761536

List of values

[1, 0, 0, 1, 3, 16, 26, 20, 69, 370, 1006, 945, 1266, 3015, 2365, 1001, 4367, 24736, 76960, 69615, 138397, 322944, 286824, 133056, 159391, 546504, 978054, 674245, 531530, 957320, 495495, 142506, 906191, 5537808, 18828096, 16231039, 37000909, 81351936, 71761536]