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.

A261787 a(n) is the smallest nonzero number that is not a substring of n in ternary representation.

Table of values

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

List of values

[1, 2, 1, 2, 2, 3, 1, 3, 1, 2, 2, 4, 2, 2, 3, 3, 3, 3, 1, 3, 1, 4, 3, 3, 1, 3, 1, 2, 2, 4, 2, 2, 4, 4, 4, 4, 2, 2, 5, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 1, 3, 1, 4, 3, 3, 1, 3, 1, 4, 4, 4, 5, 3, 3, 3, 3, 3, 1, 3, 1, 4, 3, 3, 1, 3, 1, 2, 2, 4, 2, 2]