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.

A086377 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)+3 if n is not in the sequence but (n-1) is in the sequence.

Table of values

n a(n)
1 1
2 4
3 6
4 8
5 11
6 13
7 16
8 18
9 21
10 23
11 25
12 28
13 30
14 33
15 35
16 37
17 40
18 42
19 45
20 47
21 49
22 52
23 54
24 57
25 59
26 62
27 64
28 66
29 69
30 71
31 74
32 76
33 78
34 81
35 83
36 86
37 88
38 91
39 93
40 95
41 98
42 100
43 103
44 105
45 107
46 110
47 112
48 115
49 117
50 120
51 122
52 124
53 127
54 129
55 132
56 134
57 136
58 139
59 141
60 144
61 146
62 148
63 151

List of values

[1, 4, 6, 8, 11, 13, 16, 18, 21, 23, 25, 28, 30, 33, 35, 37, 40, 42, 45, 47, 49, 52, 54, 57, 59, 62, 64, 66, 69, 71, 74, 76, 78, 81, 83, 86, 88, 91, 93, 95, 98, 100, 103, 105, 107, 110, 112, 115, 117, 120, 122, 124, 127, 129, 132, 134, 136, 139, 141, 144, 146, 148, 151]