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.

A333773 Replace 2's with (-1)'s in ternary representation of n and sum nonzero terms with alternating signs.

Table of values

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

List of values

[0, 1, -1, 3, 2, 4, -3, -4, -2, 9, 8, 10, 6, 7, 5, 12, 13, 11, -9, -10, -8, -12, -11, -13, -6, -5, -7, 27, 26, 28, 24, 25, 23, 30, 31, 29, 18, 19, 17, 21, 20, 22, 15, 14, 16, 36, 37, 35, 39, 38, 40, 33, 32, 34, -27, -28, -26, -30, -29, -31, -24, -23, -25, -36]