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.

A086398 a(1)=1; a(n)=a(n-1)+2 if n is in the sequence; a(n)=a(n-1)+2 if n and (n-1) are not in the sequence; a(n)=a(n-1)+4 if n is not in the sequence but (n-1) is in the sequence.

Table of values

n a(n)
1 1
2 5
3 7
4 9
5 11
6 15
7 17
8 21
9 23
10 27
11 29
12 33
13 35
14 37
15 39
16 43
17 45
18 49
19 51
20 53
21 55
22 59
23 61
24 65
25 67
26 69
27 71
28 75
29 77
30 81
31 83
32 85
33 87
34 91
35 93
36 97
37 99
38 103
39 105
40 109
41 111
42 113
43 115
44 119
45 121
46 125
47 127
48 129
49 131
50 135
51 137
52 141
53 143
54 147
55 149
56 153
57 155
58 157
59 159
60 163
61 165
62 169

List of values

[1, 5, 7, 9, 11, 15, 17, 21, 23, 27, 29, 33, 35, 37, 39, 43, 45, 49, 51, 53, 55, 59, 61, 65, 67, 69, 71, 75, 77, 81, 83, 85, 87, 91, 93, 97, 99, 103, 105, 109, 111, 113, 115, 119, 121, 125, 127, 129, 131, 135, 137, 141, 143, 147, 149, 153, 155, 157, 159, 163, 165, 169]