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.

A249054 Defined by (i) a(1)=1; (ii) if you move a(n) steps to the right you must reach a prime; (iii) a(n) = smallest unused composite number, unless a(n) is required to be prime by (ii), in which case a(n) is the smallest unused prime.

Table of values

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

List of values

[1, 2, 4, 3, 6, 8, 5, 9, 10, 12, 7, 11, 14, 13, 15, 16, 17, 19, 23, 18, 20, 29, 31, 21, 22, 24, 37, 25, 26, 41, 27, 43, 28, 47, 30, 32, 53, 59, 33, 34, 61, 67, 35, 36, 71, 38, 73, 39, 40, 79, 83, 42, 89, 97, 101, 44, 45, 103, 46, 48, 107, 49, 50, 109, 113, 51]