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.

A367607 Comma-successor to n working in base 3, and written in base 3, or -1 if n has no successor.

Table of values

n a(n)
1 12
2 100
3 11
4 -1
5 110
6 22
7 102
8 120
9 101
10 112
11 201
12 111
13 122
14 211
15 121
16 210
17 221
18 202
19 220
20 1000
21 212
22 -1
23 1010
24 222
25 1002
26 1020
27 1001
28 1012
29 1100
30 1011
31 1022
32 1110
33 1021
34 1102
35 1120
36 1101
37 1112
38 1200
39 1111
40 1122
41 1210
42 1121
43 1202
44 1220
45 1201
46 1212
47 2001
48 1211
49 1222
50 2011
51 1221
52 2010
53 2021
54 2002
55 2020
56 2101
57 2012
58 2100

List of values

[12, 100, 11, -1, 110, 22, 102, 120, 101, 112, 201, 111, 122, 211, 121, 210, 221, 202, 220, 1000, 212, -1, 1010, 222, 1002, 1020, 1001, 1012, 1100, 1011, 1022, 1110, 1021, 1102, 1120, 1101, 1112, 1200, 1111, 1122, 1210, 1121, 1202, 1220, 1201, 1212, 2001, 1211, 1222, 2011, 1221, 2010, 2021, 2002, 2020, 2101, 2012, 2100]