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.

A317018 Sequence of distinct signed integers such that a(1) = 0 and for any n > 0, the negabinary representation of a(n+1) differ by exactly one digit from the negabinary representation of a(n) and has the smallest possible absolute value (in case of a tie, choose the integer with the rightmost difference).

Table of values

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

List of values

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