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.

A320087 Number of primitive (=aperiodic) ternary words with length less than or equal to n which are earlier in lexicographic order than any other word derived by cyclic shifts of the alphabet.

Table of values

n a(n)
1 1
2 3
3 11
4 35
5 115
6 347
7 1075
8 3235
9 9787
10 29387
11 88435
12 265315
13 796755
14 2390347
15 7173227
16 21519947
17 64566667
18 193700035
19 581120523
20 1743362283
21 5230145947
22 15690440099
23 47071499707
24 141214499227
25 423644035627
26 1270932113627
27 3812797935395
28 11438393826035

List of values

[1, 3, 11, 35, 115, 347, 1075, 3235, 9787, 29387, 88435, 265315, 796755, 2390347, 7173227, 21519947, 64566667, 193700035, 581120523, 1743362283, 5230145947, 15690440099, 47071499707, 141214499227, 423644035627, 1270932113627, 3812797935395, 11438393826035]