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.

A244658 a(n) = x/(x1-floor(x1)) where x = sqrt(n) - floor(sqrt(n)), x1 = 1/x, a(n) = -1 if division by zero, a(n) = 0 for nonintegers.

Table of values

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

List of values

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