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.

A353174 Irregular table T(n, k), n >= 0, k = 0..A352502(n)-1; the n-th row lists in ascending order the numbers k in 0..n such that k and n-k can be added without carries in balanced ternary.

Table of values

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

List of values

[0, 0, 1, 0, 2, 0, 1, 2, 3, 0, 1, 3, 4, 0, 5, 0, 1, 5, 6, 0, 1, 6, 7, 0, 2, 3, 5, 6, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 3, 4, 6, 7, 9, 10, 0, 2, 3, 8, 9, 11, 0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 0, 1, 3, 4, 9, 10, 12, 13, 0, 14, 0, 1, 14, 15, 0, 1, 15, 16, 0, 2, 3, 14, 15, 17]