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.

A348218 Variation on the Inventory Sequence A342585: record the number of previous terms which are divisible by the iterating number, starting at 1, until 0 is recorded, then restart the iterating number from 1. See the Comments.

Table of values

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

List of values

[1, 1, 0, 2, 1, 0, 4, 2, 0, 6, 4, 1, 2, 0, 10, 7, 1, 2, 1, 1, 1, 0, 17, 8, 1, 3, 1, 1, 1, 1, 0, 25, 9, 3, 3, 2, 1, 1, 1, 1, 1, 0, 35, 10, 5, 3, 5, 1, 2, 1, 1, 2, 0, 45, 13, 7, 3, 7, 1, 4, 1, 2, 2, 0, 55, 16, 8, 6, 8, 2, 4, 4, 2, 2, 1, 0, 66, 26, 10, 9, 9, 3, 4, 4, 4, 3, 2, 0, 77, 32, 14, 13, 9, 3]