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.

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

Table of values

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

List of values

[0, 1, 2, -3, -2, -1, -6, -5, -4, 9, 10, 11, 6, 7, 8, 3, 4, 5, 18, 19, 20, 15, 16, 17, 12, 13, 14, -27, -26, -25, -30, -29, -28, -33, -32, -31, -18, -17, -16, -21, -20, -19, -24, -23, -22, -9, -8, -7, -12, -11, -10, -15, -14, -13, -54, -53, -52, -57, -56, -55, -60, -59, -58, -45, -44, -43, -48, -47, -46]