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.

A163327 Self-inverse permutation of integers: swap the odd- and even-positioned digits in the ternary expansion of n, then convert back to decimal.

Table of values

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

List of values

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