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.

A318702 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 real part of f(n).

Table of values

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

List of values

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