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.

A307768 Number of n-step random walks on a line starting from the origin and returning to it at least once.

Table of values

n a(n)
0 0
1 0
2 2
3 4
4 10
5 20
6 44
7 88
8 186
9 372
10 772
11 1544
12 3172
13 6344
14 12952
15 25904
16 52666
17 105332
18 213524
19 427048
20 863820
21 1727640
22 3488872
23 6977744
24 14073060
25 28146120
26 56708264
27 113416528
28 228318856
29 456637712
30 918624304
31 1837248608
32 3693886906
33 7387773812
34 14846262964
35 29692525928

List of values

[0, 0, 2, 4, 10, 20, 44, 88, 186, 372, 772, 1544, 3172, 6344, 12952, 25904, 52666, 105332, 213524, 427048, 863820, 1727640, 3488872, 6977744, 14073060, 28146120, 56708264, 113416528, 228318856, 456637712, 918624304, 1837248608, 3693886906, 7387773812, 14846262964, 29692525928]