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.

A221567 Number of 0..2 arrays of length n with each element differing from at least one neighbor by something other than 1.

Table of values

n a(n)
1 0
2 5
3 9
4 25
5 57
6 141
7 345
8 853
9 2097
10 5149
11 12633
12 31013
13 76161
14 187053
15 459369
16 1128053
17 2770065
18 6802301
19 16704249
20 41020357
21 100732833
22 247366989
23 607452297
24 1491704341
25 3663139761
26 8995478557
27 22089965337
28 54245756261
29 133209897153

List of values

[0, 5, 9, 25, 57, 141, 345, 853, 2097, 5149, 12633, 31013, 76161, 187053, 459369, 1128053, 2770065, 6802301, 16704249, 41020357, 100732833, 247366989, 607452297, 1491704341, 3663139761, 8995478557, 22089965337, 54245756261, 133209897153]