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.

A080572 Number of ordered pairs (i,j), 0 <= i,j < n, for which (i & j) is nonzero, where & is the bitwise AND operator.

Table of values

n a(n)
0 0
1 0
2 1
3 2
4 7
5 8
6 15
7 24
8 37
9 38
10 49
11 62
12 81
13 98
14 121
15 146
16 175
17 176
18 195
19 216
20 247
21 272
22 307
23 344
24 387
25 420
26 463
27 508
28 559
29 608
30 663
31 720
32 781
33 782
34 817
35 854
36 909
37 950
38 1009
39 1070
40 1141
41 1190
42 1257
43 1326
44 1405
45 1478
46 1561
47 1646
48 1737
49 1802
50 1885
51 1970
52 2065
53 2154

List of values

[0, 0, 1, 2, 7, 8, 15, 24, 37, 38, 49, 62, 81, 98, 121, 146, 175, 176, 195, 216, 247, 272, 307, 344, 387, 420, 463, 508, 559, 608, 663, 720, 781, 782, 817, 854, 909, 950, 1009, 1070, 1141, 1190, 1257, 1326, 1405, 1478, 1561, 1646, 1737, 1802, 1885, 1970, 2065, 2154]