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.

A274008 Number of length-n ternary sequences where the sum of each block differs by at most 1 from every other block of the same length.

Table of values

n a(n)
0 1
1 3
2 7
3 15
4 27
5 47
6 71
7 107
8 151
9 207
10 271
11 355
12 447
13 563
14 691
15 835
16 995
17 1187
18 1391
19 1631
20 1887
21 2167
22 2467
23 2811
24 3171
25 3571
26 3995
27 4455
28 4939
29 5479
30 6035
31 6651
32 7299
33 7987
34 8707
35 9475
36 10267
37 11131
38 12031
39 12979
40 13959
41 15019
42 16103
43 17271
44 18479
45 19735

List of values

[1, 3, 7, 15, 27, 47, 71, 107, 151, 207, 271, 355, 447, 563, 691, 835, 995, 1187, 1391, 1631, 1887, 2167, 2467, 2811, 3171, 3571, 3995, 4455, 4939, 5479, 6035, 6651, 7299, 7987, 8707, 9475, 10267, 11131, 12031, 12979, 13959, 15019, 16103, 17271, 18479, 19735]