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.

A073897 a(1) = 1, a(n) = smallest odd or even number not occurring earlier according as n is prime or composite.

Table of values

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

List of values

[1, 3, 5, 2, 7, 4, 9, 6, 8, 10, 11, 12, 13, 14, 16, 18, 15, 20, 17, 22, 24, 26, 19, 28, 30, 32, 34, 36, 21, 38, 23, 40, 42, 44, 46, 48, 25, 50, 52, 54, 27, 56, 29, 58, 60, 62, 31, 64, 66, 68, 70, 72, 33, 74, 76, 78, 80, 82, 35, 84, 37, 86, 88, 90, 92, 94, 39]