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.

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

Table of values

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

List of values

[1, 2, 3, 4, 5, 3, 6, 7, 5, 8, 6, 7, 9, 11, 7, 10, 14, 11, 12, 12, 10, 15, 16, 12, 14, 18, 14, 19, 15, 13, 21, 18, 14, 22, 19, 25, 18, 21, 21, 24, 26, 21, 29, 23, 25, 26, 25, 31, 23, 26, 33, 30, 28, 30, 28, 37, 27, 31, 37, 31, 25, 39]