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.

A343601 For any positive number n, the ternary representation of a(n) is obtained by right-rotating the ternary representation of n until a nonzero digit appears again as the leftmost digit; a(0) = 0.

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 12
11 21
12 10
13 13
14 22
15 19
16 14
17 23
18 18
19 15
20 24
21 11
22 16
23 25
24 20
25 17
26 26
27 27
28 36
29 63
30 30
31 37
32 64
33 57
34 38
35 65
36 28
37 39
38 66
39 31
40 40
41 67
42 58
43 41
44 68
45 55
46 42
47 69
48 32
49 43
50 70
51 59
52 44
53 71
54 54
55 45
56 72
57 33
58 46
59 73
60 60
61 47
62 74
63 29
64 48
65 75
66 34
67 49

List of values

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