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.

A171960 Values of the 2-complement of n in ternary representation.

Table of values

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

List of values

[2, 1, 0, 5, 4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2]