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.

A351939 Irregular triangle read by rows: the n-th row contains the values 0..2^n-1 sorted first by Hamming weight and then by position in reflected Gray code.

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 1
5 2
6 3
7 0
8 1
9 2
10 4
11 3
12 6
13 5
14 7
15 0
16 1
17 2
18 4
19 8
20 3
21 6
22 5
23 12
24 10
25 9
26 7
27 13
28 14
29 11
30 15
31 0
32 1
33 2
34 4
35 8
36 16
37 3
38 6
39 5
40 12
41 10
42 9
43 24
44 20
45 18
46 17
47 7
48 13
49 14
50 11
51 25
52 26
53 28
54 21
55 22
56 19
57 15
58 27
59 30
60 29
61 23
62 31
63 0
64 1
65 2
66 4
67 8
68 16
69 32
70 3
71 6
72 5
73 12
74 10
75 9
76 24
77 20
78 18
79 17
80 48
81 40
82 36
83 34
84 33
85 7
86 13
87 14
88 11
89 25

List of values

[0, 0, 1, 0, 1, 2, 3, 0, 1, 2, 4, 3, 6, 5, 7, 0, 1, 2, 4, 8, 3, 6, 5, 12, 10, 9, 7, 13, 14, 11, 15, 0, 1, 2, 4, 8, 16, 3, 6, 5, 12, 10, 9, 24, 20, 18, 17, 7, 13, 14, 11, 25, 26, 28, 21, 22, 19, 15, 27, 30, 29, 23, 31, 0, 1, 2, 4, 8, 16, 32, 3, 6, 5, 12, 10, 9, 24, 20, 18, 17, 48, 40, 36, 34, 33, 7, 13, 14, 11, 25]