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.

A140690 A positive integer n is included if n written in binary can be subdivided into a number of runs all of equal-length, the first run from the left consisting of all 1's, the next run consisting of all 0's, the next run consisting of all 1's, the next run consisting of all 0's, etc.

Table of values

n a(n)
1 1
2 2
3 3
4 5
5 7
6 10
7 12
8 15
9 21
10 31
11 42
12 51
13 56
14 63
15 85
16 127
17 170
18 204
19 240
20 255
21 341
22 455
23 511
24 682
25 819
26 992
27 1023
28 1365
29 2047
30 2730
31 3276
32 3640
33 3855
34 4032
35 4095
36 5461
37 8191
38 10922
39 13107
40 16256
41 16383
42 21845
43 29127
44 31775
45 32767
46 43690
47 52428
48 61680

List of values

[1, 2, 3, 5, 7, 10, 12, 15, 21, 31, 42, 51, 56, 63, 85, 127, 170, 204, 240, 255, 341, 455, 511, 682, 819, 992, 1023, 1365, 2047, 2730, 3276, 3640, 3855, 4032, 4095, 5461, 8191, 10922, 13107, 16256, 16383, 21845, 29127, 31775, 32767, 43690, 52428, 61680]