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.

A318265 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 -1
5 6
6 5
7 2
8 6
9 25
10 -15
11 26
12 -5
13 18
14 -4
15 30
16 -14
17 31
18 25
19 -6
20 26
21 10
22 12
23 11
24 30
25 -5
26 31
27 125
28 -97
29 126
30 -75
31 106
32 -74
33 130
34 -96
35 131
36 -25
37 62
38 -24
39 90
40 -50
41 91
42 -20
43 63
44 -19
45 150
46 -104
47 151
48 -70
49 119
50 -69
51 155
52 -103
53 156
54 125
55 -70
56 126
57 -30
58 88
59 -29
60 130
61 -69
62 131
63 50
64 14
65 51
66 60
67 7
68 61
69 55
70 15
71 56
72 150

List of values

[1, 1, 5, -1, 6, 5, 2, 6, 25, -15, 26, -5, 18, -4, 30, -14, 31, 25, -6, 26, 10, 12, 11, 30, -5, 31, 125, -97, 126, -75, 106, -74, 130, -96, 131, -25, 62, -24, 90, -50, 91, -20, 63, -19, 150, -104, 151, -70, 119, -69, 155, -103, 156, 125, -70, 126, -30, 88, -29, 130, -69, 131, 50, 14, 51, 60, 7, 61, 55, 15, 56, 150]