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.

A228091 Numbers n for which there exists such a natural number k < n that k + bitcount(k) = n + bitcount(n), where bitcount(k) (A000120) gives the number of 1's in binary representation of nonnegative integer k.

Table of values

n a(n)
1 4
2 12
3 16
4 17
5 20
6 28
7 32
8 34
9 36
10 44
11 48
12 49
13 52
14 60
15 65
16 68
17 76
18 80
19 81
20 84
21 92
22 96
23 98
24 100
25 108
26 112
27 113
28 116
29 124
30 128
31 129
32 130
33 131
34 132
35 140
36 144
37 145
38 148
39 156
40 160
41 162
42 164
43 172
44 176
45 177
46 180
47 188
48 193
49 196
50 204
51 208
52 209
53 212
54 220
55 224
56 226
57 228

List of values

[4, 12, 16, 17, 20, 28, 32, 34, 36, 44, 48, 49, 52, 60, 65, 68, 76, 80, 81, 84, 92, 96, 98, 100, 108, 112, 113, 116, 124, 128, 129, 130, 131, 132, 140, 144, 145, 148, 156, 160, 162, 164, 172, 176, 177, 180, 188, 193, 196, 204, 208, 209, 212, 220, 224, 226, 228]