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.

A244724 Lexicographically earliest permutation of the natural numbers such that primes and composites alternate in the sums of adjacent terms.

Table of values

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

List of values

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