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.

A231920 Working in base 3: a(0)=0, thereafter a(n+1) is the smallest number not already in the sequence such that the bits of a(n) and a(n+1) together can be rearranged to form a palindrome.

Table of values

n a(n)
0 0
1 11
2 1
3 10
4 100
5 12
6 2
7 20
8 101
9 22
10 110
11 202
12 220
13 1000
14 102
15 21
16 111
17 122
18 212
19 221
20 1001
21 112
22 121
23 200
24 211
25 222
26 1002
27 120
28 201
29 210
30 1011
31 1022
32 1101
33 1110
34 1202
35 1220
36 2012
37 2021
38 2102
39 2120
40 2201
41 2210
42 10000
43 1010
44 1100
45 1111
46 1122
47 1212
48 1221
49 2002
50 2020

List of values

[0, 11, 1, 10, 100, 12, 2, 20, 101, 22, 110, 202, 220, 1000, 102, 21, 111, 122, 212, 221, 1001, 112, 121, 200, 211, 222, 1002, 120, 201, 210, 1011, 1022, 1101, 1110, 1202, 1220, 2012, 2021, 2102, 2120, 2201, 2210, 10000, 1010, 1100, 1111, 1122, 1212, 1221, 2002, 2020]