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.

A006582 a(n) = Sum_{k=1..n-1} k XOR n-k.

Table of values

n a(n)
2 0
3 6
4 4
5 12
6 20
7 42
8 32
9 40
10 48
11 78
12 84
13 116
14 148
15 210
16 176
17 176
18 176
19 214
20 212
21 252
22 292
23 378
24 368
25 408
26 448
27 542
28 580
29 676
30 772
31 930
32 832
33 800
34 768
35 806
36 772
37 812
38 852
39 970
40 928
41 968
42 1008
43 1134
44 1172
45 1300
46 1428
47 1650
48 1584
49 1616
50 1648
51 1782
52 1812
53 1948

List of values

[0, 6, 4, 12, 20, 42, 32, 40, 48, 78, 84, 116, 148, 210, 176, 176, 176, 214, 212, 252, 292, 378, 368, 408, 448, 542, 580, 676, 772, 930, 832, 800, 768, 806, 772, 812, 852, 970, 928, 968, 1008, 1134, 1172, 1300, 1428, 1650, 1584, 1616, 1648, 1782, 1812, 1948]