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.

A256791 Trace of n in the minimal alternating squares representation of n.

Table of values

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

List of values

[0, 1, -2, -1, 4, -4, 1, 2, -1, 9, -1, 4, -4, 1, 2, -1, 16, 1, -2, -1, 4, -4, 1, 2, -1, 25, 1, -9, 1, -2, -1, 4, -4, 1, 2, -1, 36, 4, -4, 1, -9, 1, -2, -1, 4, -4, 1, 2, -1, 49, -2, -1, 4, -4, 1, -9, 1, -2, -1, 4, -4, 1, 2, -1, 64, -16, 1, -2, -1, 4, -4, 1, -9]