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.

A280167 a(2*n) = 3*n if n>0, a(2*n + 1) = -(2*n + 1), a(0) = 1.

Table of values

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

List of values

[1, -1, 3, -3, 6, -5, 9, -7, 12, -9, 15, -11, 18, -13, 21, -15, 24, -17, 27, -19, 30, -21, 33, -23, 36, -25, 39, -27, 42, -29, 45, -31, 48, -33, 51, -35, 54, -37, 57, -39, 60, -41, 63, -43, 66, -45, 69, -47, 72, -49, 75, -51, 78, -53, 81, -55, 84, -57, 87, -59]