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.

A318682 a(n) is the number of odd values minus the number of even values of the integer log of all positive integers up to and including n.

Table of values

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

List of values

[-1, -2, -1, -2, -1, 0, 1, 0, -1, 0, 1, 2, 3, 4, 3, 2, 3, 2, 3, 4, 3, 4, 5, 6, 5, 6, 7, 8, 9, 8, 9, 8, 7, 8, 7, 6, 7, 8, 7, 8, 9, 8, 9, 10, 11, 12, 13, 14, 13, 12, 11, 12, 13, 14, 13, 14, 13, 14, 15, 14, 15, 16, 17, 16, 15, 14, 15, 16, 15, 14, 15, 14, 15, 16, 17, 18, 17, 16, 17, 18]