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.

A006581 a(n) = Sum_{k=1..n-1} (k AND n-k).

Table of values

n a(n)
2 1
3 0
4 4
5 4
6 5
7 0
8 12
9 16
10 21
11 16
12 24
13 20
14 17
15 0
16 32
17 48
18 65
19 64
20 84
21 84
22 85
23 64
24 92
25 96
26 101
27 80
28 88
29 68
30 49
31 0
32 80
33 128
34 177
35 192
36 244
37 260
38 277
39 256
40 316
41 336
42 357
43 336
44 360
45 340
46 321
47 256
48 336
49 368
50 401
51 384
52 420
53 404
54 389
55 320
56 364
57 352
58 341
59 272
60 264
61 196

List of values

[1, 0, 4, 4, 5, 0, 12, 16, 21, 16, 24, 20, 17, 0, 32, 48, 65, 64, 84, 84, 85, 64, 92, 96, 101, 80, 88, 68, 49, 0, 80, 128, 177, 192, 244, 260, 277, 256, 316, 336, 357, 336, 360, 340, 321, 256, 336, 368, 401, 384, 420, 404, 389, 320, 364, 352, 341, 272, 264, 196]