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.

A332497 a(n) = x(w+1) where x(0) = 0 and x(k+1) = 2^(k+1)-1-x(k) (resp. x(k)) when d_k = 1 (resp. d_k <> 1) and Sum_{k=0..w} d_k*3^k is the ternary representation of n. Sequence A332498 gives corresponding y's.

Table of values

n a(n)
0 0
1 1
2 0
3 3
4 2
5 3
6 0
7 1
8 0
9 7
10 6
11 7
12 4
13 5
14 4
15 7
16 6
17 7
18 0
19 1
20 0
21 3
22 2
23 3
24 0
25 1
26 0
27 15
28 14
29 15
30 12
31 13
32 12
33 15
34 14
35 15
36 8
37 9
38 8
39 11
40 10
41 11
42 8
43 9
44 8
45 15
46 14
47 15
48 12
49 13
50 12
51 15
52 14
53 15
54 0
55 1
56 0
57 3
58 2
59 3
60 0
61 1
62 0
63 7
64 6
65 7
66 4
67 5
68 4
69 7
70 6
71 7
72 0
73 1
74 0
75 3
76 2
77 3
78 0
79 1

List of values

[0, 1, 0, 3, 2, 3, 0, 1, 0, 7, 6, 7, 4, 5, 4, 7, 6, 7, 0, 1, 0, 3, 2, 3, 0, 1, 0, 15, 14, 15, 12, 13, 12, 15, 14, 15, 8, 9, 8, 11, 10, 11, 8, 9, 8, 15, 14, 15, 12, 13, 12, 15, 14, 15, 0, 1, 0, 3, 2, 3, 0, 1, 0, 7, 6, 7, 4, 5, 4, 7, 6, 7, 0, 1, 0, 3, 2, 3, 0, 1]