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.

A367026 a(1) = 0, a(2) = 1; thereafter a(n) is the smallest index < n not equal to i +- a(i) for any i = 1..n-1.

Table of values

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

List of values

[0, 1, 2, 2, 4, 4, 4, 4, 7, 7, 7, 7, 7, 7, 8, 8, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 15, 15, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 25, 25, 25, 25, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40]