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.

A370698 Rectangular array, read by antidiagonals: row n consists of the numbers m whose binary representation has exactly n runs.

Table of values

n a(n)
1 1
2 3
3 2
4 7
5 4
6 5
7 15
8 6
9 9
10 10
11 31
12 8
13 11
14 18
15 21
16 63
17 12
18 13
19 20
20 37
21 42
22 127
23 14
24 17
25 22
26 41
27 74
28 85
29 255
30 16
31 19
32 26
33 43
34 82
35 149
36 170
37 511
38 24
39 23
40 34
41 45
42 84
43 165
44 298
45 341
46 1023
47 28
48 25
49 36
50 53
51 86
52 169
53 330
54 597
55 682
56 2047
57 30
58 27
59 38
60 69
61 90
62 171

List of values

[1, 3, 2, 7, 4, 5, 15, 6, 9, 10, 31, 8, 11, 18, 21, 63, 12, 13, 20, 37, 42, 127, 14, 17, 22, 41, 74, 85, 255, 16, 19, 26, 43, 82, 149, 170, 511, 24, 23, 34, 45, 84, 165, 298, 341, 1023, 28, 25, 36, 53, 86, 169, 330, 597, 682, 2047, 30, 27, 38, 69, 90, 171]