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.

A381055 a(n) = -n/2 if n is even, 3n + 1 if n is odd.

Table of values

n a(n)
0 0
1 4
2 -1
3 10
4 -2
5 16
6 -3
7 22
8 -4
9 28
10 -5
11 34
12 -6
13 40
14 -7
15 46
16 -8
17 52
18 -9
19 58
20 -10
21 64
22 -11
23 70
24 -12
25 76
26 -13
27 82
28 -14
29 88
30 -15
31 94
32 -16
33 100
34 -17
35 106
36 -18
37 112
38 -19
39 118
40 -20
41 124
42 -21
43 130
44 -22
45 136
46 -23
47 142
48 -24
49 148
50 -25
51 154
52 -26
53 160
54 -27
55 166
56 -28
57 172

List of values

[0, 4, -1, 10, -2, 16, -3, 22, -4, 28, -5, 34, -6, 40, -7, 46, -8, 52, -9, 58, -10, 64, -11, 70, -12, 76, -13, 82, -14, 88, -15, 94, -16, 100, -17, 106, -18, 112, -19, 118, -20, 124, -21, 130, -22, 136, -23, 142, -24, 148, -25, 154, -26, 160, -27, 166, -28, 172]