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.

A345966 The succession of nonprime and prime terms is kept when you consider the sequence formed by the successive sums a(n) + a(n+1). This is the lexicographically earliest sequence of distinct positive terms with this property.

Table of values

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

List of values

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