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.

A117967 Positive part of inverse of A117966; write n in balanced ternary and then replace (-1)'s with 2's.

Table of values

n a(n)
0 0
1 1
2 5
3 3
4 4
5 17
6 15
7 16
8 11
9 9
10 10
11 14
12 12
13 13
14 53
15 51
16 52
17 47
18 45
19 46
20 50
21 48
22 49
23 35
24 33
25 34
26 29
27 27
28 28
29 32
30 30
31 31
32 44
33 42
34 43
35 38
36 36
37 37
38 41
39 39
40 40
41 161
42 159
43 160
44 155
45 153
46 154
47 158
48 156
49 157
50 143
51 141
52 142
53 137
54 135
55 136
56 140
57 138
58 139
59 152
60 150
61 151
62 146

List of values

[0, 1, 5, 3, 4, 17, 15, 16, 11, 9, 10, 14, 12, 13, 53, 51, 52, 47, 45, 46, 50, 48, 49, 35, 33, 34, 29, 27, 28, 32, 30, 31, 44, 42, 43, 38, 36, 37, 41, 39, 40, 161, 159, 160, 155, 153, 154, 158, 156, 157, 143, 141, 142, 137, 135, 136, 140, 138, 139, 152, 150, 151, 146]