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.

A338429 Maximum number of copies of a 1234 permutation pattern in an alternating (or zig-zag) permutation of length n + 5.

Table of values

n a(n)
1 4
2 8
3 28
4 48
5 104
6 160
7 280
8 400
9 620
10 840
11 1204
12 1568
13 2128
14 2688
15 3504
16 4320
17 5460
18 6600
19 8140
20 9680
21 11704
22 13728
23 16328
24 18928
25 22204
26 25480
27 29540
28 33600
29 38560
30 43520
31 49504
32 55488
33 62628
34 69768
35 78204
36 86640
37 96520
38 106400
39 117880
40 129360

List of values

[4, 8, 28, 48, 104, 160, 280, 400, 620, 840, 1204, 1568, 2128, 2688, 3504, 4320, 5460, 6600, 8140, 9680, 11704, 13728, 16328, 18928, 22204, 25480, 29540, 33600, 38560, 43520, 49504, 55488, 62628, 69768, 78204, 86640, 96520, 106400, 117880, 129360]