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.

A257145 a(n) = 5 * floor( (n+2) / 5) - n with a(0) = 1.

Table of values

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

List of values

[1, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0, -1, -2, 2, 1, 0]