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.

A167419 Exchange adjacent nonprimes and primes.

Table of values

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

List of values

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