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.

A367039 a(1) = 0, a(2) = 1; thereafter a(n) is the largest 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 7
9 8
10 8
11 8
12 8
13 12
14 13
15 14
16 14
17 16
18 16
19 16
20 16
21 16
22 21
23 22
24 23
25 24
26 24
27 26
28 26
29 28
30 28
31 28
32 31
33 32
34 32
35 32
36 32
37 32
38 32
39 38
40 39
41 40
42 41
43 42
44 42
45 44
46 44
47 46
48 46
49 48
50 48
51 48
52 51
53 52
54 52
55 52
56 55
57 56
58 56
59 56
60 56
61 60
62 61
63 62
64 62
65 64
66 64
67 64
68 64
69 64
70 64
71 64

List of values

[0, 1, 2, 2, 4, 4, 4, 7, 8, 8, 8, 8, 12, 13, 14, 14, 16, 16, 16, 16, 16, 21, 22, 23, 24, 24, 26, 26, 28, 28, 28, 31, 32, 32, 32, 32, 32, 32, 38, 39, 40, 41, 42, 42, 44, 44, 46, 46, 48, 48, 48, 51, 52, 52, 52, 55, 56, 56, 56, 56, 60, 61, 62, 62, 64, 64, 64, 64, 64, 64, 64]