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.

A278056 Relative of Hofstadter Q-sequence: a(n) = n for 1 <= n <= 4; a(n) = a(n-a(n-1)) + a(n-a(n-2)) for n > 4.

Table of values

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

List of values

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