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.

A163241 Simple self-inverse permutation: Write n in base 4, then replace each digit '2' with '3' and vice versa, then convert back to decimal.

Table of values

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

List of values

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