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.

A071065 A permutation of natural numbers: a(1)=2 a(n) is the smallest integer different from a(1), a(2), a(3), ..., a(n-1) such that a(n)+n is prime.

Table of values

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

List of values

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