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.

A256303 Apply the transformation 0 -> 1 -> 2 -> 0 to the digits of n written in base 3; do not convert back to base 10.

Table of values

n a(n)
0 1
1 2
2 0
3 21
4 22
5 20
6 1
7 2
8 0
9 211
10 212
11 210
12 221
13 222
14 220
15 201
16 202
17 200
18 11
19 12
20 10
21 21
22 22
23 20
24 1
25 2
26 0
27 2111
28 2112
29 2110
30 2121
31 2122
32 2120
33 2101
34 2102
35 2100
36 2211
37 2212
38 2210
39 2221
40 2222
41 2220
42 2201
43 2202
44 2200
45 2011
46 2012
47 2010
48 2021
49 2022
50 2020
51 2001

List of values

[1, 2, 0, 21, 22, 20, 1, 2, 0, 211, 212, 210, 221, 222, 220, 201, 202, 200, 11, 12, 10, 21, 22, 20, 1, 2, 0, 2111, 2112, 2110, 2121, 2122, 2120, 2101, 2102, 2100, 2211, 2212, 2210, 2221, 2222, 2220, 2201, 2202, 2200, 2011, 2012, 2010, 2021, 2022, 2020, 2001]