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.

A235487 Self-inverse and multiplicative permutation of integers: For n < 7, a(n)=n, a(7)=8 and a(8)=7, a(p_i) = p_{a(i)} for primes with index i <> 4, and for composites > 8, a(u*v) = a(u) * a(v).

Table of values

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

List of values

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