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.

A336264 a(0) = 0, and then the sequence alternates runs of distinct numbers with the same sign, the n-th run having abs(a(n)) terms; all positive numbers appear, in increasing order; all negative numbers appear, in decreasing order; a(1) = 1.

Table of values

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

List of values

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