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.

A305865 a(1) = 1, a(n) = -5*a(n/3) if n is divisible by 3, otherwise a(n) = n - a(n-1).

Table of values

n a(n)
1 1
2 1
3 -5
4 9
5 -4
6 -5
7 12
8 -4
9 25
10 -15
11 26
12 -45
13 58
14 -44
15 20
16 -4
17 21
18 25
19 -6
20 26
21 -60
22 82
23 -59
24 20
25 5
26 21
27 -125
28 153
29 -124
30 75
31 -44
32 76
33 -130
34 164
35 -129
36 225
37 -188
38 226
39 -290
40 330
41 -289
42 220
43 -177
44 221
45 -100
46 146
47 -99
48 20
49 29
50 21
51 -105
52 157
53 -104
54 -125
55 180
56 -124
57 30
58 28
59 31
60 -130
61 191
62 -129
63 300
64 -236
65 301
66 -410
67 477
68 -409
69 295

List of values

[1, 1, -5, 9, -4, -5, 12, -4, 25, -15, 26, -45, 58, -44, 20, -4, 21, 25, -6, 26, -60, 82, -59, 20, 5, 21, -125, 153, -124, 75, -44, 76, -130, 164, -129, 225, -188, 226, -290, 330, -289, 220, -177, 221, -100, 146, -99, 20, 29, 21, -105, 157, -104, -125, 180, -124, 30, 28, 31, -130, 191, -129, 300, -236, 301, -410, 477, -409, 295]