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.

A143324 Table T(n,k) by antidiagonals. T(n,k) is the number of length n primitive (=aperiodic or period n) k-ary words (n,k >= 1).

Table of values

n a(n)
1 1
2 2
3 0
4 3
5 2
6 0
7 4
8 6
9 6
10 0
11 5
12 12
13 24
14 12
15 0
16 6
17 20
18 60
19 72
20 30
21 0
22 7
23 30
24 120
25 240
26 240
27 54
28 0
29 8
30 42
31 210
32 600
33 1020
34 696
35 126
36 0
37 9
38 56
39 336
40 1260
41 3120
42 4020
43 2184
44 240
45 0
46 10
47 72
48 504
49 2352
50 7770
51 15480
52 16380
53 6480
54 504
55 0
56 11
57 90
58 720
59 4032
60 16800
61 46410
62 78120
63 65280
64 19656
65 990
66 0

List of values

[1, 2, 0, 3, 2, 0, 4, 6, 6, 0, 5, 12, 24, 12, 0, 6, 20, 60, 72, 30, 0, 7, 30, 120, 240, 240, 54, 0, 8, 42, 210, 600, 1020, 696, 126, 0, 9, 56, 336, 1260, 3120, 4020, 2184, 240, 0, 10, 72, 504, 2352, 7770, 15480, 16380, 6480, 504, 0, 11, 90, 720, 4032, 16800, 46410, 78120, 65280, 19656, 990, 0]