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.

A358338 a(n) = abs(a(n-1) - count(a(n-1))) where count(a(n-1)) is the number of times a(n-1) has appeared so far in the sequence, a(1)=0.

Table of values

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

List of values

[0, 1, 0, 2, 1, 1, 2, 0, 3, 2, 1, 3, 1, 4, 3, 0, 4, 2, 2, 3, 1, 5, 4, 1, 6, 5, 3, 2, 4, 0, 5, 2, 5, 1, 7, 6, 4, 1, 8, 7, 5, 0, 6, 3, 3, 4, 2, 6, 2, 7, 4, 3, 5, 1, 9, 8, 6, 1, 10, 9, 7, 3, 6, 0, 7, 2, 8, 5, 2, 9, 6, 1, 11, 10, 8, 4, 4, 5, 3, 7, 1, 12, 11, 9, 5, 4]