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.

A218085 Let S_5(x) denote the difference in counts of multiples of 5 in the interval [0,x), those with even digit sums in base 4 in one set, those with odd digit sums in base 4 in the other. Then a(n) = (-1)^s_4(n) *(S_5(n) -10*S_5(floor(n/16)) +5*S_5(floor(n/256))), where s_4(n) = A053737(n).

Table of values

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

List of values

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