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.

A104607 Write the natural numbers in base 3 in a triangle with k digits in the k-th row, as shown below. Sequence gives the leading diagonal.

Table of values

n a(n)
1 1
2 1
3 1
4 0
5 1
6 1
7 1
8 1
9 2
10 1
11 2
12 0
13 1
14 1
15 0
16 1
17 1
18 2
19 0
20 0
21 1
22 2
23 0
24 1
25 1
26 0
27 0
28 0
29 1
30 1
31 1
32 1
33 2
34 1
35 1
36 2
37 0
38 0
39 2
40 2
41 1
42 2
43 1
44 2
45 2
46 2
47 0
48 1
49 1
50 1
51 1
52 0
53 1
54 1
55 0
56 0
57 1
58 1
59 0
60 1
61 2
62 1
63 2
64 2
65 1
66 1
67 2
68 2
69 1
70 2
71 0
72 1
73 2
74 2
75 2
76 0
77 2
78 2
79 1
80 0
81 2
82 2
83 2
84 0
85 1
86 2
87 2
88 2
89 2
90 1
91 1
92 0
93 1
94 1
95 2
96 0
97 1
98 1
99 0
100 2
101 0
102 0
103 0
104 1
105 1

List of values

[1, 1, 1, 0, 1, 1, 1, 1, 2, 1, 2, 0, 1, 1, 0, 1, 1, 2, 0, 0, 1, 2, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 2, 1, 1, 2, 0, 0, 2, 2, 1, 2, 1, 2, 2, 2, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 0, 1, 2, 2, 2, 0, 2, 2, 1, 0, 2, 2, 2, 0, 1, 2, 2, 2, 2, 1, 1, 0, 1, 1, 2, 0, 1, 1, 0, 2, 0, 0, 0, 1, 1]