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.

A305557 a(1) = a(2) = 1; a(n) = n - a(a(n-2)) - a(n-a(n-2)) for n > 2.

Table of values

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

List of values

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