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.

A318703 For any n >= 0 with binary expansion Sum_{k=0..w} b_k * 2^k, let f(n) = Sum_{k=0..w} b_k * i^k * 2^floor(k/2) (where i denotes the imaginary unit); a(n) is the imaginary part of f(n).

Table of values

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

List of values

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