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.

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

Table of values

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

List of values

[1, 2, 2, 2, 3, 4, 5, 5, 5, 5, 6, 8, 10, 10, 10, 9, 10, 10, 10, 10, 11, 13, 18, 20, 18, 15, 15, 15, 20, 20, 19, 18, 20, 20, 20, 19, 20, 20, 20, 20, 21, 23, 31, 38, 33, 28, 20, 20, 21, 30, 39, 39, 38, 30, 29, 25, 35, 40, 40, 38, 31, 33, 36, 40, 38, 40, 35, 40, 40, 40, 39, 38, 40, 40, 40, 39, 40, 40, 40, 40, 41, 43, 54, 69]