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.

A003285 Period of continued fraction for square root of n (or 0 if n is a square).

Table of values

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

List of values

[0, 1, 2, 0, 1, 2, 4, 2, 0, 1, 2, 2, 5, 4, 2, 0, 1, 2, 6, 2, 6, 6, 4, 2, 0, 1, 2, 4, 5, 2, 8, 4, 4, 4, 2, 0, 1, 2, 2, 2, 3, 2, 10, 8, 6, 12, 4, 2, 0, 1, 2, 6, 5, 6, 4, 2, 6, 7, 6, 4, 11, 4, 2, 0, 1, 2, 10, 2, 8, 6, 8, 2, 7, 5, 4, 12, 6, 4, 4, 2, 0, 1, 2, 2, 5, 10, 2, 6, 5, 2, 8, 8, 10, 16, 4, 4, 11, 4, 2, 0, 1, 2, 12]