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.

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

Table of values

n a(n)
0 0
1 1
2 -3
3 0
4 9
5 14
6 0
7 7
8 -27
9 -18
10 -42
11 -31
12 0
13 13
14 -21
15 -6
16 81
17 98
18 54
19 73
20 126
21 147
22 93
23 116
24 0
25 25
26 -39
27 -12
28 63
29 92
30 18
31 49
32 -243
33 -210
34 -294
35 -259
36 -162
37 -125
38 -219
39 -180
40 -378
41 -337
42 -441
43 -398
44 -279
45 -234
46 -348
47 -301
48 0
49 49
50 -75
51 -24
52 117
53 170
54 36
55 91
56 -189
57 -132
58 -276
59 -217
60 -54
61 7
62 -147
63 -84
64 729
65 794
66 630

List of values

[0, 1, -3, 0, 9, 14, 0, 7, -27, -18, -42, -31, 0, 13, -21, -6, 81, 98, 54, 73, 126, 147, 93, 116, 0, 25, -39, -12, 63, 92, 18, 49, -243, -210, -294, -259, -162, -125, -219, -180, -378, -337, -441, -398, -279, -234, -348, -301, 0, 49, -75, -24, 117, 170, 36, 91, -189, -132, -276, -217, -54, 7, -147, -84, 729, 794, 630]