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.

A065367 Replace 3^k with (-3)^k in balanced ternary expansion of n.

Table of values

n a(n)
1 1
2 -4
3 -3
4 -2
5 11
6 12
7 13
8 8
9 9
10 10
11 5
12 6
13 7
14 -34
15 -33
16 -32
17 -37
18 -36
19 -35
20 -40
21 -39
22 -38
23 -25
24 -24
25 -23
26 -28
27 -27
28 -26
29 -31
30 -30
31 -29
32 -16
33 -15
34 -14
35 -19
36 -18
37 -17
38 -22
39 -21
40 -20
41 101
42 102
43 103
44 98
45 99
46 100
47 95
48 96
49 97
50 110
51 111
52 112
53 107
54 108
55 109
56 104
57 105
58 106
59 119
60 120
61 121
62 116
63 117
64 118
65 113

List of values

[1, -4, -3, -2, 11, 12, 13, 8, 9, 10, 5, 6, 7, -34, -33, -32, -37, -36, -35, -40, -39, -38, -25, -24, -23, -28, -27, -26, -31, -30, -29, -16, -15, -14, -19, -18, -17, -22, -21, -20, 101, 102, 103, 98, 99, 100, 95, 96, 97, 110, 111, 112, 107, 108, 109, 104, 105, 106, 119, 120, 121, 116, 117, 118, 113]