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.

A220115 a(n) = A000120(n) - A007895(n), the number of 1's in binary expansion of n minus the number of terms in Zeckendorf representation of n.

Table of values

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

List of values

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