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.

A368316 Lexicographically earliest sequence of distinct nonnegative integers such that for any n >= 0, a(n) and Sum_{k = 0..n-1} a(k) can be added without carries in balanced ternary.

Table of values

n a(n)
0 0
1 1
2 2
3 5
4 3
5 15
6 4
7 6
8 41
9 9
10 18
11 10
12 125
13 12
14 16
15 8
16 45
17 13
18 14
19 369
20 27
21 54
22 28
23 11
24 7
25 126
26 17
27 55
28 26
29 1107
30 30
31 51
32 31
33 131
34 36
35 46
36 29
37 375
38 37
39 44
40 39
41 123
42 40
43 42
44 35
45 3285
46 57
47 24
48 135
49 81
50 405
51 82
52 38
53 19
54 132
55 53
56 1134
57 84
58 25
59 134
60 85
61 23
62 378

List of values

[0, 1, 2, 5, 3, 15, 4, 6, 41, 9, 18, 10, 125, 12, 16, 8, 45, 13, 14, 369, 27, 54, 28, 11, 7, 126, 17, 55, 26, 1107, 30, 51, 31, 131, 36, 46, 29, 375, 37, 44, 39, 123, 40, 42, 35, 3285, 57, 24, 135, 81, 405, 82, 38, 19, 132, 53, 1134, 84, 25, 134, 85, 23, 378]