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.

A059512 For n>=2, the number of (s(0), s(1), ..., s(n-1)) such that 0 < s(i) < 5 and |s(i) - s(i-1)| <= 1 for i = 1,2,....,n-1, s(0) = 2, s(n-1) = 2.

Table of values

n a(n)
0 0
1 1
2 1
3 3
4 7
5 18
6 46
7 119
8 309
9 805
10 2101
11 5490
12 14356
13 37557
14 98281
15 257231
16 673323
17 1762594
18 4614226
19 12079707
20 31624285
21 82792161
22 216750601
23 567457058
24 1485616392
25 3889385353
26 10182528721
27 26658183099
28 69791991919

List of values

[0, 1, 1, 3, 7, 18, 46, 119, 309, 805, 2101, 5490, 14356, 37557, 98281, 257231, 673323, 1762594, 4614226, 12079707, 31624285, 82792161, 216750601, 567457058, 1485616392, 3889385353, 10182528721, 26658183099, 69791991919]