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.

A338804 A sequence containing each nonnegative integer exactly twice, such that for all k, k numbers appear in the sequence between the first and second appearances of k.

Table of values

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

List of values

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