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.

A369543 a(0) = 1; for n >= 0, a(n+1) = n - a(n) if a(n) odd, else a(n+1) = floor((3*n + a(n))/2).

Table of values

n a(n)
0 1
1 -1
2 2
3 4
4 6
5 9
6 -4
7 7
8 0
9 12
10 19
11 -9
12 20
13 28
14 33
15 -19
16 34
17 41
18 -24
19 15
20 4
21 32
22 47
23 -25
24 48
25 60
26 67
27 -41
28 68
29 76
30 81
31 -51
32 82
33 89
34 -56
35 23
36 12
37 60
38 85
39 -47
40 86
41 103
42 -62
43 32
44 80
45 106
46 120
47 129
48 -82
49 31
50 18
51 84
52 118
53 137
54 -84
55 39
56 16
57 92
58 131
59 -73
60 132
61 156
62 169
63 -107

List of values

[1, -1, 2, 4, 6, 9, -4, 7, 0, 12, 19, -9, 20, 28, 33, -19, 34, 41, -24, 15, 4, 32, 47, -25, 48, 60, 67, -41, 68, 76, 81, -51, 82, 89, -56, 23, 12, 60, 85, -47, 86, 103, -62, 32, 80, 106, 120, 129, -82, 31, 18, 84, 118, 137, -84, 39, 16, 92, 131, -73, 132, 156, 169, -107]