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.

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

Table of values

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

List of values

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