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.

A094077 a(1)=1 and, for n>1, a(n)=a(n-1)+n if n is even and a(n)=smallest positive integer which has not yet appeared in the sequence if n is odd.

Table of values

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

List of values

[1, 3, 2, 6, 4, 10, 5, 13, 7, 17, 8, 20, 9, 23, 11, 27, 12, 30, 14, 34, 15, 37, 16, 40, 18, 44, 19, 47, 21, 51, 22, 54, 24, 58, 25, 61, 26, 64, 28, 68, 29, 71, 31, 75, 32, 78, 33, 81, 35, 85, 36, 88, 38, 92, 39, 95, 41, 99, 42, 102, 43, 105, 45, 109, 46, 112, 48, 116, 49, 119]