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.

A343049 The k-th binary digit of a(n) is the most frequent digit among the first k binary digits of n (in case of a tie, take the k-th binary digit of n).

Table of values

n a(n)
0 0
1 1
2 2
3 7
4 0
5 5
6 6
7 31
8 0
9 9
10 10
11 31
12 8
13 29
14 30
15 127
16 0
17 1
18 2
19 23
20 0
21 21
22 22
23 127
24 0
25 25
26 26
27 127
28 24
29 125
30 126
31 511
32 0
33 1
34 2
35 39
36 0
37 37
38 38
39 127
40 0
41 41
42 42
43 127
44 40
45 125
46 126
47 511
48 0
49 33
50 34
51 119
52 32
53 117
54 118
55 511
56 32
57 121
58 122
59 511
60 120
61 509
62 510
63 2047
64 0

List of values

[0, 1, 2, 7, 0, 5, 6, 31, 0, 9, 10, 31, 8, 29, 30, 127, 0, 1, 2, 23, 0, 21, 22, 127, 0, 25, 26, 127, 24, 125, 126, 511, 0, 1, 2, 39, 0, 37, 38, 127, 0, 41, 42, 127, 40, 125, 126, 511, 0, 33, 34, 119, 32, 117, 118, 511, 32, 121, 122, 511, 120, 509, 510, 2047, 0]