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.

A317788 Lexicographically earliest infinite sequence of distinct positive terms such that for any n > 1, the binary representation of a(n) appears as a substring in the binary representation of Sum_{k=1..n-1} a(k).

Table of values

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

List of values

[2, 1, 3, 6, 4, 8, 12, 9, 5, 18, 17, 10, 7, 19, 14, 16, 11, 20, 13, 24, 22, 15, 32, 36, 34, 25, 23, 37, 27, 21, 26, 64, 69, 40, 43, 29, 30, 35, 39, 44, 28, 42, 53, 129, 72, 38, 31, 81, 45, 50, 46, 47, 49, 74, 41, 54, 55, 51, 52, 57, 58, 128, 68, 70, 140, 77, 60]