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.

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

Table of values

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

List of values

[1, -3, -2, -1, 5, 6, 7, 3, 4, 5, 1, 2, 3, -11, -10, -9, -13, -12, -11, -15, -14, -13, -7, -6, -5, -9, -8, -7, -11, -10, -9, -3, -2, -1, -5, -4, -3, -7, -6, -5, 21, 22, 23, 19, 20, 21, 17, 18, 19, 25, 26, 27, 23, 24, 25, 21, 22, 23, 29, 30, 31, 27, 28, 29, 25, 26, 27, 13, 14, 15, 11, 12, 13, 9, 10, 11, 17, 18, 19, 15]