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.

A327987 a(n) = Sum_{d|n} d & (n/d), where & is the bitwise AND operator, with a(0) = 0.

Table of values

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

List of values

[0, 1, 0, 2, 2, 2, 4, 2, 0, 5, 0, 2, 4, 2, 4, 4, 4, 2, 4, 2, 12, 8, 4, 2, 8, 7, 0, 4, 12, 2, 16, 2, 0, 8, 0, 12, 10, 2, 4, 4, 0, 2, 16, 2, 4, 10, 4, 2, 8, 9, 0, 4, 12, 2, 8, 4, 8, 8, 0, 2, 24, 2, 4, 6, 8, 12, 8, 2, 4, 8, 16, 2, 24, 2, 0, 14, 4, 8, 16, 2, 24, 17]