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.

A353648 Lexicographically earliest sequence of distinct nonnegative integers such that for any n >= 0, n and a(n) can be added without carries in balanced ternary.

Table of values

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

List of values

[0, 2, 1, 5, 6, 3, 4, 17, 15, 14, 18, 16, 19, 23, 9, 8, 11, 7, 10, 12, 51, 50, 53, 13, 44, 45, 42, 41, 47, 43, 46, 54, 48, 49, 56, 52, 55, 57, 69, 68, 71, 27, 26, 29, 24, 25, 30, 28, 32, 33, 21, 20, 35, 22, 31, 36, 34, 37, 149, 153, 152, 155, 150, 151, 156, 154]