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.

A057168 Next larger integer with same binary weight (number of 1 bits) as n.

Table of values

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

List of values

[2, 4, 5, 8, 6, 9, 11, 16, 10, 12, 13, 17, 14, 19, 23, 32, 18, 20, 21, 24, 22, 25, 27, 33, 26, 28, 29, 35, 30, 39, 47, 64, 34, 36, 37, 40, 38, 41, 43, 48, 42, 44, 45, 49, 46, 51, 55, 65, 50, 52, 53, 56, 54, 57, 59, 67, 58, 60, 61, 71, 62, 79, 95, 128, 66, 68, 69, 72, 70, 73, 75]