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.

A160520 a(n) is the number of distinct values in the periodic part of the continued fraction of the square root of n-th nonsquare positive integer.

Table of values

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

List of values

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