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.

A360692 a(0) = 0. Thereafter a(n+1) = a(a(n)) if a(n) has not occurred previously, otherwise a(n+1) = n - 1 - a(n-1).

Table of values

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

List of values

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