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.

A322149 In the binary representation of n, replace each run of k 0's (or 1's) with k^2 0's (or 1's).

Table of values

n a(n)
0 0
1 1
2 2
3 15
4 16
5 5
6 30
7 511
8 512
9 33
10 10
11 47
12 240
13 61
14 1022
15 65535
16 65536
17 1025
18 66
19 271
20 80
21 21
22 94
23 1535
24 7680
25 481
26 122
27 495
28 8176
29 2045
30 131070
31 33554431
32 33554432
33 131073
34 2050
35 8207
36 528
37 133
38 542
39 8703
40 2560
41 161
42 42
43 175
44 752
45 189
46 3070
47 196607
48 983040

List of values

[0, 1, 2, 15, 16, 5, 30, 511, 512, 33, 10, 47, 240, 61, 1022, 65535, 65536, 1025, 66, 271, 80, 21, 94, 1535, 7680, 481, 122, 495, 8176, 2045, 131070, 33554431, 33554432, 131073, 2050, 8207, 528, 133, 542, 8703, 2560, 161, 42, 175, 752, 189, 3070, 196607, 983040]