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.

A343231 A binary encoding of the nonzero digits in balanced ternary representation of n.

Table of values

n a(n)
0 0
1 1
2 3
3 2
4 3
5 7
6 6
7 7
8 5
9 4
10 5
11 7
12 6
13 7
14 15
15 14
16 15
17 13
18 12
19 13
20 15
21 14
22 15
23 11
24 10
25 11
26 9
27 8
28 9
29 11
30 10
31 11
32 15
33 14
34 15
35 13
36 12
37 13
38 15
39 14
40 15
41 31
42 30
43 31
44 29
45 28
46 29
47 31
48 30
49 31
50 27
51 26
52 27
53 25
54 24
55 25
56 27
57 26
58 27
59 31
60 30
61 31
62 29
63 28
64 29
65 31
66 30
67 31
68 23

List of values

[0, 1, 3, 2, 3, 7, 6, 7, 5, 4, 5, 7, 6, 7, 15, 14, 15, 13, 12, 13, 15, 14, 15, 11, 10, 11, 9, 8, 9, 11, 10, 11, 15, 14, 15, 13, 12, 13, 15, 14, 15, 31, 30, 31, 29, 28, 29, 31, 30, 31, 27, 26, 27, 25, 24, 25, 27, 26, 27, 31, 30, 31, 29, 28, 29, 31, 30, 31, 23]