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.

A256697 Trace of the minimal alternating triangular-number representation of n.

Table of values

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

List of values

[0, 1, -1, 3, 1, -1, 6, -3, 1, -1, 10, -1, -3, 1, -1, 15, 1, -1, -3, 1, -1, 21, -6, 1, -1, -3, 1, -1, 28, 3, -6, 1, -1, -3, 1, -1, 36, -1, 3, -6, 1, -1, -3, 1, -1, 45, 1, -1, 3, -6, 1, -1, -3, 1, -1, 55, -10, 1, -1, 3, -6, 1, -1, -3, 1, -1, 66, 1, -10, 1, -1]