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.

A126007 Involution of nonnegative integers: Keep the least significant quaternary digit q0 of n fixed, but swap the positions of digits q1 <-> q2, q3 <-> q4, ..., etc. in the base-4 expansion of n (where n = ... + q4*256 + q3*64 + q2*16 + q1*4 + q0).

Table of values

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

List of values

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