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.

A276689 Least term in the periodic part of the continued fraction expansion of sqrt(n) or 0 if n is square.

Table of values

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

List of values

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