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.

A265530 Largest base-3 palindrome m <= n, written in base 3.

Table of values

n a(n)
0 0
1 1
2 2
3 2
4 11
5 11
6 11
7 11
8 22
9 22
10 101
11 101
12 101
13 111
14 111
15 111
16 121
17 121
18 121
19 121
20 202
21 202
22 202
23 212
24 212
25 212
26 222
27 222
28 1001
29 1001
30 1001
31 1001
32 1001
33 1001
34 1001
35 1001
36 1001
37 1001
38 1001
39 1001
40 1111
41 1111
42 1111
43 1111
44 1111
45 1111
46 1111
47 1111
48 1111
49 1111
50 1111
51 1111
52 1221
53 1221
54 1221
55 1221
56 2002
57 2002
58 2002
59 2002

List of values

[0, 1, 2, 2, 11, 11, 11, 11, 22, 22, 101, 101, 101, 111, 111, 111, 121, 121, 121, 121, 202, 202, 202, 212, 212, 212, 222, 222, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1221, 1221, 1221, 1221, 2002, 2002, 2002, 2002]