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.

A160652 Express n in balanced ternary, then reverse the digits, leaving any trailing zeros alone.

Table of values

n a(n)
0 0
1 1
2 -2
3 3
4 4
5 -11
6 -6
7 7
8 -8
9 9
10 10
11 -5
12 12
13 13
14 -38
15 -33
16 16
17 -29
18 -18
19 25
20 -20
21 21
22 34
23 -35
24 -24
25 19
26 -26
27 27
28 28
29 -17
30 30
31 37
32 -32
33 -15
34 22
35 -23
36 36
37 31
38 -14
39 39
40 40
41 -119
42 -114
43 43
44 -92
45 -99
46 70
47 -65
48 48
49 97
50 -110
51 -87
52 52
53 -83
54 -54
55 79
56 -56
57 75
58 106
59 -101

List of values

[0, 1, -2, 3, 4, -11, -6, 7, -8, 9, 10, -5, 12, 13, -38, -33, 16, -29, -18, 25, -20, 21, 34, -35, -24, 19, -26, 27, 28, -17, 30, 37, -32, -15, 22, -23, 36, 31, -14, 39, 40, -119, -114, 43, -92, -99, 70, -65, 48, 97, -110, -87, 52, -83, -54, 79, -56, 75, 106, -101]