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.

A038760 a(n) = n - floor(sqrt(n)) * ceiling(sqrt(n)).

Table of values

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

List of values

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