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.

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

List of values

[0, 1, 2, 0, 1, 2, 2, 2, 0, 1, 2, 2, 2, 3, 2, 0, 1, 2, 4, 2, 3, 4, 3, 2, 0, 1, 2, 3, 3, 2, 4, 2, 3, 3, 2, 0, 1, 2, 2, 2, 2, 2, 4, 3, 3, 5, 3, 2, 0, 1, 2, 4, 3, 4, 2, 2, 3, 2, 4, 3, 5, 3, 2, 0, 1, 2, 5, 2, 4, 3, 4, 2, 3, 2, 2, 5, 4, 3, 3, 2, 0, 1, 2, 2, 3, 4, 2, 3, 3, 2, 3, 4, 4, 6, 3, 3, 3, 3, 2, 0, 1, 2]