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.

A326280 Let f(n) be a sequence of distinct Gaussian integers such that f(1) = 0 and for any n > 1, f(n) = f(floor(n/2)) + k(n)*g((1+i)^(A000120(n)-1) * (1-i)^A023416(n)) where k(n) > 0 is as small as possible and g(z) = z/gcd(Re(z), Im(z)); a(n) is the real part of f(n).

Table of values

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

List of values

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