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.

A112030 a(n) = (2 + (-1)^n) * (-1)^floor(n/2).

Table of values

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

List of values

[3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1, -3, -1, 3, 1]