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.

A335587 a(n) is the sum of the numbers k such that 0 <= k <= n and n AND k = 0 (where AND denotes the bitwise AND operator).

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 6
5 2
6 1
7 0
8 28
9 12
10 10
11 4
12 6
13 2
14 1
15 0
16 120
17 56
18 52
19 24
20 44
21 20
22 18
23 8
24 28
25 12
26 10
27 4
28 6
29 2
30 1
31 0
32 496
33 240
34 232
35 112
36 216
37 104
38 100
39 48
40 184
41 88
42 84
43 40
44 76
45 36
46 34
47 16
48 120
49 56
50 52
51 24
52 44
53 20
54 18
55 8
56 28
57 12
58 10
59 4
60 6
61 2
62 1
63 0
64 2016
65 992
66 976
67 480

List of values

[0, 0, 1, 0, 6, 2, 1, 0, 28, 12, 10, 4, 6, 2, 1, 0, 120, 56, 52, 24, 44, 20, 18, 8, 28, 12, 10, 4, 6, 2, 1, 0, 496, 240, 232, 112, 216, 104, 100, 48, 184, 88, 84, 40, 76, 36, 34, 16, 120, 56, 52, 24, 44, 20, 18, 8, 28, 12, 10, 4, 6, 2, 1, 0, 2016, 992, 976, 480]