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.

A337305 a(n) is the greatest number m not yet in the sequence such that the ternary expansions of n and of m have the same runs of consecutive equal digits (up to order but with multiplicity).

Table of values

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

List of values

[0, 1, 2, 3, 4, 7, 6, 5, 8, 9, 10, 21, 12, 13, 22, 19, 16, 25, 18, 15, 20, 11, 14, 23, 24, 17, 26, 27, 28, 63, 30, 37, 64, 57, 48, 75, 36, 31, 66, 39, 40, 67, 58, 49, 76, 55, 46, 69, 34, 43, 70, 73, 52, 79, 54, 45, 56, 33, 42, 65, 60, 61, 74, 29, 32, 59, 38, 41]