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.

A005185 Hofstadter Q-sequence: a(1) = a(2) = 1; a(n) = a(n-a(n-1)) + a(n-a(n-2)) for n > 2.

Table of values

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

List of values

[1, 1, 2, 3, 3, 4, 5, 5, 6, 6, 6, 8, 8, 8, 10, 9, 10, 11, 11, 12, 12, 12, 12, 16, 14, 14, 16, 16, 16, 16, 20, 17, 17, 20, 21, 19, 20, 22, 21, 22, 23, 23, 24, 24, 24, 24, 24, 32, 24, 25, 30, 28, 26, 30, 30, 28, 32, 30, 32, 32, 32, 32, 40, 33, 31, 38, 35, 33, 39, 40, 37, 38, 40, 39]