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.

A328096 a(0) = 0; a(1) = 1; for n > 1, a(n) = number of terms between the two previous occurrences of a(n-1) if a(n-1) has appeared two or more times, otherwise a(n) = 0.

Table of values

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

List of values

[0, 1, 0, 1, 1, 0, 2, 0, 1, 3, 0, 2, 4, 0, 2, 2, 0, 2, 1, 9, 0, 3, 11, 0, 2, 6, 0, 2, 2, 0, 2, 1, 12, 0, 3, 12, 2, 5, 0, 4, 26, 0, 2, 5, 5, 0, 3, 11, 24, 0, 3, 3, 0, 2, 10, 0, 2, 2, 0, 2, 1, 28, 0, 3, 11, 16, 0, 3, 3, 0, 2, 10, 16, 6, 47, 0, 5, 31, 0, 2, 8]