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.

A268173 a(n) = Sum_{k=0..n} (-1)^k*floor(sqrt(k)).

Table of values

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

List of values

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