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.

A238758 Lexicographically earliest sequence of distinct positive integers such that a(n) AND n is a power of 2 for any n>0 (AND stands for the bitwise AND operator).

Table of values

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

List of values

[1, 2, 5, 4, 3, 10, 9, 8, 7, 6, 12, 11, 17, 18, 20, 16, 13, 14, 24, 15, 26, 25, 33, 19, 22, 21, 34, 36, 35, 37, 40, 32, 23, 27, 29, 28, 30, 41, 48, 31, 38, 49, 52, 50, 65, 66, 68, 39, 42, 44, 69, 43, 67, 74, 73, 72, 71, 70, 76, 75, 80, 81]