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.

A281579 Lexicographically earliest sequence such that, for any n>0, a(n)=length of the n-th run of consecutive terms in arithmetic progression in this sequence.

Table of values

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

List of values

[2, 2, 3, 3, 3, 4, 5, 4, 3, 3, 3, 3, 4, 5, 6, 7, 6, 5, 4, 4, 4, 3, 2, 2, 2, 3, 4, 4, 4, 4, 5, 6, 7, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 7, 6, 5, 4, 4, 4, 4, 5, 6, 7, 6, 5, 4, 4, 4, 2, 2, 3, 3, 3, 4, 5, 6, 5, 4, 3, 3, 3, 3, 4, 5, 6, 5, 4, 3, 2, 2]