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.

A355659 Martingale win/loss triangle, read by rows: T(n,k) = total number of dollars won (or lost) using the martingale method on all possible n trials that have exactly k losses and n-k wins, for 0 <= k <= n.

Table of values

n a(n)
0 0
1 1
2 -1
3 2
4 1
5 -3
6 3
7 5
8 -1
9 -7
10 4
11 11
12 7
13 -7
14 -15
15 5
16 19
17 24
18 4
19 -21
20 -31
21 6
22 29
23 53
24 38
25 -12
26 -51
27 -63
28 7
29 41
30 97
31 111
32 41
33 -57
34 -113
35 -127
36 8
37 55
38 159
39 243
40 187
41 5
42 -163
43 -239
44 -255
45 9
46 71
47 242
48 458
49 500
50 248
51 -130
52 -394
53 -493
54 -511
55 10
56 89
57 349
58 784
59 1084
60 874
61 202
62 -488
63 -878
64 -1003
65 -1023

List of values

[0, 1, -1, 2, 1, -3, 3, 5, -1, -7, 4, 11, 7, -7, -15, 5, 19, 24, 4, -21, -31, 6, 29, 53, 38, -12, -51, -63, 7, 41, 97, 111, 41, -57, -113, -127, 8, 55, 159, 243, 187, 5, -163, -239, -255, 9, 71, 242, 458, 500, 248, -130, -394, -493, -511, 10, 89, 349, 784, 1084, 874, 202, -488, -878, -1003, -1023]