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.

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

Table of values

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

List of values

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