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.

A249036 a(1)=1, a(2)=2; thereafter a(n) = a(n-1-(number of even terms so far)) + a(n-1-(number of odd terms so far)).

Table of values

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

List of values

[1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 13, 14, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 33, 33, 34, 34, 35, 35, 36, 36, 37, 37, 38, 38, 39, 39, 40, 40, 41, 41, 42, 42, 43, 43, 44, 44, 45, 45, 46, 46, 47]