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.

A372704 a(1)=1; a(2)=2; for n>1, this is the lexicographically earliest sequence such that, following each occurrence of a(n), a(n) is banned for the next k terms, where k is the number of terms prior to a(n) that are not equal to a(n).

Table of values

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

List of values

[1, 2, 1, 2, 1, 3, 2, 1, 4, 5, 6, 2, 1, 3, 7, 8, 9, 4, 10, 5, 2, 1, 6, 11, 12, 13, 3, 14, 15, 7, 16, 8, 17, 9, 4, 18, 19, 2, 1, 5, 10, 20, 21, 22, 6, 23, 24, 11, 25, 12, 26, 3, 13, 27, 28, 14, 29, 15, 7, 30, 31, 16, 8, 32, 33, 17, 9, 4, 34, 35, 2, 1, 18, 19, 36]