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.

A338241 For any m >= 0, a(3*m) = 3*a(m), a(3*m+1) = 1-3*a(m), a(3*m+2) = 3*a(m)-1.

Table of values

n a(n)
0 0
1 1
2 -1
3 3
4 -2
5 2
6 -3
7 4
8 -4
9 9
10 -8
11 8
12 -6
13 7
14 -7
15 6
16 -5
17 5
18 -9
19 10
20 -10
21 12
22 -11
23 11
24 -12
25 13
26 -13
27 27
28 -26
29 26
30 -24
31 25
32 -25
33 24
34 -23
35 23
36 -18
37 19
38 -19
39 21
40 -20
41 20
42 -21
43 22
44 -22
45 18
46 -17
47 17
48 -15
49 16
50 -16
51 15
52 -14
53 14
54 -27
55 28
56 -28
57 30
58 -29
59 29
60 -30
61 31

List of values

[0, 1, -1, 3, -2, 2, -3, 4, -4, 9, -8, 8, -6, 7, -7, 6, -5, 5, -9, 10, -10, 12, -11, 11, -12, 13, -13, 27, -26, 26, -24, 25, -25, 24, -23, 23, -18, 19, -19, 21, -20, 20, -21, 22, -22, 18, -17, 17, -15, 16, -16, 15, -14, 14, -27, 28, -28, 30, -29, 29, -30, 31]