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.

A140316 Write n in base 3, delete 0's.

Table of values

n a(n)
1 1
2 2
3 1
4 11
5 12
6 2
7 21
8 22
9 1
10 11
11 12
12 11
13 111
14 112
15 12
16 121
17 122
18 2
19 21
20 22
21 21
22 211
23 212
24 22
25 221
26 222
27 1
28 11
29 12
30 11
31 111
32 112
33 12
34 121
35 122
36 11
37 111
38 112
39 111
40 1111
41 1112
42 112
43 1121
44 1122
45 12
46 121
47 122
48 121
49 1211
50 1212
51 122
52 1221
53 1222
54 2
55 21
56 22
57 21
58 211
59 212
60 22

List of values

[1, 2, 1, 11, 12, 2, 21, 22, 1, 11, 12, 11, 111, 112, 12, 121, 122, 2, 21, 22, 21, 211, 212, 22, 221, 222, 1, 11, 12, 11, 111, 112, 12, 121, 122, 11, 111, 112, 111, 1111, 1112, 112, 1121, 1122, 12, 121, 122, 121, 1211, 1212, 122, 1221, 1222, 2, 21, 22, 21, 211, 212, 22]