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.

A327252 Balanced reversed ternary: Write n as ternary, reverse the order of the digits, then replace all 2's with (-1)'s.

Table of values

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

List of values

[0, 1, -1, 1, 4, -2, -1, 2, -4, 1, 10, -8, 4, 13, -5, -2, 7, -11, -1, 8, -10, 2, 11, -7, -4, 5, -13, 1, 28, -26, 10, 37, -17, -8, 19, -35, 4, 31, -23, 13, 40, -14, -5, 22, -32, -2, 25, -29, 7, 34, -20, -11, 16, -38, -1, 26, -28, 8, 35, -19, -10, 17, -37, 2, 29, -25, 11]