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.

A350239 a(n) = Sum_{k=1..n} (-1)^(k+1) * floor((n/(2*k))^k).

Table of values

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

List of values

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