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.

A284520 a(1) = 1, a(2) = a(3) = a(4) = 2; a(n) = a(a(n-1)-1) + a(n-a(n-3)-1) for n > 4.

Table of values

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

List of values

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