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.

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

Table of values

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

List of values

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