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.

A255368 a(n) = -(-1)^n * 2 * n / 3 if n divisible by 3, a(n) = -(-1)^n * n otherwise.

Table of values

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

List of values

[0, 1, -2, 2, -4, 5, -4, 7, -8, 6, -10, 11, -8, 13, -14, 10, -16, 17, -12, 19, -20, 14, -22, 23, -16, 25, -26, 18, -28, 29, -20, 31, -32, 22, -34, 35, -24, 37, -38, 26, -40, 41, -28, 43, -44, 30, -46, 47, -32, 49, -50, 34, -52, 53, -36, 55, -56, 38, -58, 59]