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.

A247287 Number of weak peaks in all Motzkin paths of length n. A weak peak of a Motzkin path is a vertex on the top of a hump. A hump is an upstep followed by 0 or more flatsteps followed by a downstep. For example, the Motzkin path u*duu*h*h*dd, where u=(1,1), h=(1,0), d(1,-1), has 4 weak peaks (shown by the stars).

Table of values

n a(n)
0 0
1 0
2 1
3 4
4 13
5 38
6 108
7 304
8 857
9 2426
10 6902
11 19728
12 56622
13 163092
14 471205
15 1365008
16 3963321
17 11530786
18 33607190
19 98105616
20 286795300
21 839470664
22 2460038427
23 7216652488
24 21190820678
25 62279238828
26 183185851903
27 539220930004
28 1588341106957
29 4681678922366

List of values

[0, 0, 1, 4, 13, 38, 108, 304, 857, 2426, 6902, 19728, 56622, 163092, 471205, 1365008, 3963321, 11530786, 33607190, 98105616, 286795300, 839470664, 2460038427, 7216652488, 21190820678, 62279238828, 183185851903, 539220930004, 1588341106957, 4681678922366]