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.

A232933 Number T(n,k) of permutations of [n] with exactly k (possibly overlapping, cyclic wrap-around) occurrences of the consecutive step pattern UDU (U=up, D=down); triangle T(n,k), n>=0, 0<=k<=floor(n/2), read by rows.

Table of values

n a(n)
0 1
1 1
2 0
3 2
4 3
5 3
6 12
7 4
8 8
9 35
10 45
11 40
12 144
13 348
14 132
15 96
16 910
17 1862
18 1316
19 952
20 5976
21 11600
22 14808
23 5760
24 2176
25 39942
26 100260
27 123606
28 63360
29 35712
30 306570
31 919270
32 1069910
33 910650
34 343040
35 79360
36 2698223
37 8427243
38 11694397
39 10673641
40 4477440
41 1945856

List of values

[1, 1, 0, 2, 3, 3, 12, 4, 8, 35, 45, 40, 144, 348, 132, 96, 910, 1862, 1316, 952, 5976, 11600, 14808, 5760, 2176, 39942, 100260, 123606, 63360, 35712, 306570, 919270, 1069910, 910650, 343040, 79360, 2698223, 8427243, 11694397, 10673641, 4477440, 1945856]