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.

A341846 a(1) = 0; thereafter, if a(n) has not appeared before, a(n+1) = number of existing terms which are greater than a(n); otherwise, a(n) = n-m where a(m) is the most recent copy of a(n).

Table of values

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

List of values

[0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 1, 4, 2, 7, 0, 6, 8, 0, 3, 6, 4, 9, 0, 5, 14, 0, 3, 8, 11, 1, 19, 0, 6, 13, 2, 22, 0, 5, 14, 14, 1, 11, 13, 9, 22, 9, 2, 12, 8, 21, 2, 4, 31, 0, 17, 5, 18, 5, 2, 8, 11, 19, 31, 10, 18, 8, 6, 34, 0, 15, 11, 10, 8, 7, 60, 0, 7]