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.

A180018 Difference of sums of digits of n in decimal and in binary representation.

Table of values

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

List of values

[0, 0, 1, 1, 3, 3, 4, 4, 7, 7, -1, -1, 1, 1, 2, 2, 6, 6, 7, 7, 0, 0, 1, 1, 4, 4, 5, 5, 7, 7, -1, -1, 4, 4, 5, 5, 7, 7, 8, 8, 2, 2, 3, 3, 5, 5, 6, 6, 10, 10, 2, 2, 4, 4, 5, 5, 8, 8, 9, 9, 2, 2, 3, 3, 9, 9, 10, 10, 12, 12, 4, 4, 7, 7, 8, 8, 10, 10, 11, 11, 6, 6, 7, 7, 9, 9, 10, 10, 13, 13, 5, 5, 7, 7, 8, 8]