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.

A112952 Smaller of two ternary (base 3) numbers (each using only 0's and 1's, the latter's positions never coinciding) such that the decimal representation of their difference is n.

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 0
5 11
6 10
7 10
8 1
9 0
10 0
11 1
12 0
13 0
14 111
15 110
16 110
17 101
18 100
19 100
20 101
21 100
22 100
23 11
24 10
25 10
26 1
27 0
28 0
29 1
30 0
31 0
32 11
33 10
34 10
35 1
36 0
37 0
38 1
39 0
40 0
41 1111
42 1110
43 1110
44 1101
45 1100
46 1100
47 1101
48 1100
49 1100
50 1011
51 1010
52 1010
53 1001
54 1000
55 1000
56 1001
57 1000
58 1000
59 1011
60 1010

List of values

[0, 0, 1, 0, 0, 11, 10, 10, 1, 0, 0, 1, 0, 0, 111, 110, 110, 101, 100, 100, 101, 100, 100, 11, 10, 10, 1, 0, 0, 1, 0, 0, 11, 10, 10, 1, 0, 0, 1, 0, 0, 1111, 1110, 1110, 1101, 1100, 1100, 1101, 1100, 1100, 1011, 1010, 1010, 1001, 1000, 1000, 1001, 1000, 1000, 1011, 1010]