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.

A316995 Sequence of distinct signed integers such that a(1) = 0 and for any n > 0, a(n+1) is of the form a(n) + (-2)^k (where k >= 0) and has the smallest possible absolute value (in case of a tie, minimize k).

Table of values

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

List of values

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