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.

A348760 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} ((-1)^Sum_{j = 0..k-1} b_j) * (1+i)^k (where i denotes the imaginary unit); sequence A348761 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 3
10 3
11 -2
12 2
13 -1
14 -1
15 2
16 -4
17 5
18 5
19 -4
20 4
21 -3
22 -3
23 4
24 2
25 -1
26 -1
27 2
28 -2
29 3
30 3
31 -2
32 -4
33 5
34 5
35 -4
36 4
37 -3
38 -3
39 4
40 2
41 -1
42 -1
43 2
44 -2
45 3
46 3
47 -2
48 0
49 1
50 1
51 0
52 0
53 1
54 1
55 0
56 -2
57 3
58 3
59 -2
60 2
61 -1
62 -1
63 2
64 0
65 1
66 1
67 0
68 0
69 1
70 1
71 0
72 -2
73 3
74 3
75 -2
76 2
77 -1

List of values

[0, 1, 1, 0, 0, 1, 1, 0, -2, 3, 3, -2, 2, -1, -1, 2, -4, 5, 5, -4, 4, -3, -3, 4, 2, -1, -1, 2, -2, 3, 3, -2, -4, 5, 5, -4, 4, -3, -3, 4, 2, -1, -1, 2, -2, 3, 3, -2, 0, 1, 1, 0, 0, 1, 1, 0, -2, 3, 3, -2, 2, -1, -1, 2, 0, 1, 1, 0, 0, 1, 1, 0, -2, 3, 3, -2, 2, -1]