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.

A227182 Simple self-inverse permutation of natural numbers: List each block of n^2 - n + 1 numbers from ((n-1)^3 + 2*(n-1))/3 + 1 to (n^3 + 2*n)/3 in reverse order.

Table of values

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

List of values

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