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.

A334052 Variant of Van Eck's sequence: Set a(1) = 1, a(2) = 0, a(3) = 1. Thereafter, a(n) is the minimum positive offset i from a(n-1) such that some partial sum a(n-1-i)+...+a(n-1-i+k) = a(n-1) (0 <= k < i).

Table of values

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

List of values

[1, 0, 1, 2, 3, 2, 2, 1, 5, 3, 3, 1, 4, 2, 7, 3, 5, 5, 1, 7, 5, 3, 6, 5, 3, 3, 1, 8, 4, 3, 4, 2, 18, 10, 17, 12, 8, 9, 8, 2, 8, 2, 2, 1, 17, 7, 16, 20, 5, 7, 4, 9, 14, 13, 3, 12, 7, 7, 1, 15, 3, 6, 31, 25, 5, 16, 7, 9, 7, 2, 27, 15, 12, 17, 29, 2, 6, 15, 6, 2, 4, 30, 18, 15, 6]