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.

A348690 For any nonnegative number n with binary expansion Sum_{k >= 0} b_k * 2^k, a(n) is the real part of f(n) = Sum_{k >= 0} b_k * (i^Sum_{j = 0..k-1} b_j) * (1+i)^k (where i denotes the imaginary unit); sequence A348691 gives the imaginary part.

Table of values

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

List of values

[0, 1, 1, 0, 0, -1, -1, 0, -2, -1, -1, 2, -2, 1, 1, 2, -4, 1, 1, 4, 0, 3, 3, 0, -2, 3, 3, 2, 2, 1, 1, -2, -4, 5, 5, 4, 4, 3, 3, -4, 2, 3, 3, -2, 2, -3, -3, -2, 0, 5, 5, 0, 4, -1, -1, -4, 2, -1, -1, -2, -2, -3, -3, 2, 0, 9, 9, 0, 8, -1, -1, -8, 6, -1, -1, -6, -2]