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.

A180017 Difference of sums of digits of n in ternary and in binary.

Table of values

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

List of values

[0, 0, 1, -1, 1, 1, 0, 0, 3, -1, 0, 0, 0, 0, 1, -1, 3, 3, 0, 0, 2, 0, 1, 1, 2, 2, 3, -3, -1, -1, -2, -2, 3, 1, 2, 2, 0, 0, 1, -1, 2, 2, 1, 1, 3, -1, 0, 0, 2, 2, 3, 1, 3, 3, -2, -2, 1, -1, 0, 0, 0, 0, 1, -3, 3, 3, 2, 2, 4, 2, 3, 3, 2, 2, 3, 1, 3, 3, 2, 2, 6, -2, -1, -1, -1, -1, 0, -2, 1, 1, -2, -2, 0]