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.

A348967 Variation on the Inventory Sequence A342585: record the number of occurrences of the pair difference of all adjacent terms until 0 is recorded, then restart the count from 0. Start with a(0) = 0. See the Comments.

Table of values

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

List of values

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