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.

A006156 Number of ternary squarefree words of length n.

Table of values

n a(n)
0 1
1 3
2 6
3 12
4 18
5 30
6 42
7 60
8 78
9 108
10 144
11 204
12 264
13 342
14 456
15 618
16 798
17 1044
18 1392
19 1830
20 2388
21 3180
22 4146
23 5418
24 7032
25 9198
26 11892
27 15486
28 20220
29 26424
30 34422
31 44862
32 58446
33 76122
34 99276
35 129516
36 168546
37 219516
38 285750
39 372204
40 484446
41 630666
42 821154

List of values

[1, 3, 6, 12, 18, 30, 42, 60, 78, 108, 144, 204, 264, 342, 456, 618, 798, 1044, 1392, 1830, 2388, 3180, 4146, 5418, 7032, 9198, 11892, 15486, 20220, 26424, 34422, 44862, 58446, 76122, 99276, 129516, 168546, 219516, 285750, 372204, 484446, 630666, 821154]