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.

A366549 a(0) = 0; for n > 0, a(n) is the number of terms prior to and including the term a(n-1-a(n-1)) that equal a(n-1-a(n-1)).

Table of values

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

List of values

[0, 1, 1, 1, 2, 2, 3, 3, 1, 2, 2, 4, 2, 4, 3, 1, 3, 2, 5, 2, 6, 3, 1, 5, 1, 2, 2, 7, 1, 1, 8, 6, 8, 7, 9, 8, 1, 3, 1, 6, 2, 11, 1, 1, 12, 2, 13, 2, 11, 6, 13, 6, 11, 1, 3, 5, 2, 7, 2, 13, 1, 3, 14, 2, 8, 13, 3, 15, 3, 4, 4, 9, 1, 2, 2, 16, 3, 16, 8, 4, 1, 5, 11, 2, 4, 17, 10, 11, 11, 2, 5, 1, 5]