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.

A337242 a(n) is the greatest number m not yet in the sequence such that the binary expansions of m and of n have the same run lengths (up to order but with multiplicity).

Table of values

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

List of values

[0, 1, 2, 3, 6, 5, 4, 7, 14, 13, 10, 11, 12, 9, 8, 15, 30, 29, 26, 27, 22, 21, 20, 23, 28, 25, 18, 19, 24, 17, 16, 31, 62, 61, 58, 59, 54, 53, 52, 57, 46, 45, 42, 43, 50, 41, 40, 47, 60, 55, 44, 51, 38, 37, 36, 49, 56, 39, 34, 35, 48, 33, 32, 63, 126, 125, 122]