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.

A037897 (Greatest base 3 digit of n)-(least base 3 digit of n).

Table of values

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

List of values

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