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.

A185169 Cantor's ordering of positive rational numbers, where a(n) is the balanced ternary representation of the "factorization" of the positive rational number into terms of A186285.

Table of values

n a(n)
1 0
2 2
3 1
4 20
5 10
6 20001
7 21
8 12
9 10002
10 200
11 100
12 22
13 201
14 20011
15 10022
16 102
17 11
18 2000
19 210
20 120
21 1000
22 20000
23 2001
24 10202
25 20101
26 1002
27 10000
28 20000000010
29 2010
30 1020
31 10000000020
32 202
33 20000000011
34 20010
35 12002
36 122
37 211
38 21001
39 10020
40 10000000022
41 101
42 200000
43 2100
44 1200
45 100000
46 20021
47 200001
48 212
49 20000010012
50 20100
51 2011
52 1022
53 10200
54 10000020021
55 121
56 100002
57 10012

List of values

[0, 2, 1, 20, 10, 20001, 21, 12, 10002, 200, 100, 22, 201, 20011, 10022, 102, 11, 2000, 210, 120, 1000, 20000, 2001, 10202, 20101, 1002, 10000, 20000000010, 2010, 1020, 10000000020, 202, 20000000011, 20010, 12002, 122, 211, 21001, 10020, 10000000022, 101, 200000, 2100, 1200, 100000, 20021, 200001, 212, 20000010012, 20100, 2011, 1022, 10200, 10000020021, 121, 100002, 10012]