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.

A277618 Lexicographically earliest nonnegative sequence such that |a(n+1)-a(n)| is a prime number, and no number occurs twice; a(0) = 0.

Table of values

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

List of values

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