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.

A303769 a(0) = 0, a(n+1) is either the largest number obtained from a(n) by toggling a single 1-bit off (to 0) if no such number is yet in the sequence, otherwise the least number not yet in sequence that can be obtained from a(n) by toggling a single 0-bit on (to 1). In both cases the bit to be toggled is the rightmost possible that results yet an unencountered number.

Table of values

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

List of values

[0, 1, 3, 2, 6, 4, 5, 7, 15, 14, 12, 8, 9, 11, 10, 26, 24, 16, 17, 19, 18, 22, 20, 21, 23, 31, 30, 28, 29, 25, 27, 59, 58, 56, 48, 32, 33, 35, 34, 38, 36, 37, 39, 47, 46, 44, 40, 41, 43, 42, 106, 104, 96, 64, 65, 67, 66, 70, 68, 69, 71, 79, 78, 76, 72, 73, 75, 74, 90, 88, 80, 81, 83, 82, 86, 84, 85, 87, 95, 94, 92, 93, 89, 91, 123, 122, 120, 112, 113, 97, 99]