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.

A242407 Numbers such that in ternary representation all pairs of adjacent digits have sums not greater than 2.

Table of values

n a(n)
1 0
2 1
3 2
4 3
5 4
6 6
7 9
8 10
9 11
10 12
11 13
12 18
13 19
14 20
15 27
16 28
17 29
18 30
19 31
20 33
21 36
22 37
23 38
24 39
25 40
26 54
27 55
28 56
29 57
30 58
31 60
32 81
33 82
34 83
35 84
36 85
37 87
38 90
39 91
40 92
41 93
42 94
43 99
44 100
45 101
46 108
47 109
48 110
49 111
50 112
51 114
52 117
53 118
54 119
55 120
56 121
57 162
58 163
59 164
60 165
61 166
62 168

List of values

[0, 1, 2, 3, 4, 6, 9, 10, 11, 12, 13, 18, 19, 20, 27, 28, 29, 30, 31, 33, 36, 37, 38, 39, 40, 54, 55, 56, 57, 58, 60, 81, 82, 83, 84, 85, 87, 90, 91, 92, 93, 94, 99, 100, 101, 108, 109, 110, 111, 112, 114, 117, 118, 119, 120, 121, 162, 163, 164, 165, 166, 168]