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.

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

List of values

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