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.

A013945 Least d such that period of continued fraction for sqrt(d) contains n (n^2+2 if n odd, (n/2)^2+1 if n even).

Table of values

n a(n)
1 3
2 2
3 11
4 5
5 27
6 10
7 51
8 17
9 83
10 26
11 123
12 37
13 171
14 50
15 227
16 65
17 291
18 82
19 363
20 101
21 443
22 122
23 531
24 145
25 627
26 170
27 731
28 197
29 843
30 226
31 963
32 257
33 1091
34 290
35 1227
36 325
37 1371
38 362
39 1523
40 401
41 1683
42 442
43 1851
44 485
45 2027
46 530
47 2211
48 577
49 2403
50 626
51 2603
52 677
53 2811

List of values

[3, 2, 11, 5, 27, 10, 51, 17, 83, 26, 123, 37, 171, 50, 227, 65, 291, 82, 363, 101, 443, 122, 531, 145, 627, 170, 731, 197, 843, 226, 963, 257, 1091, 290, 1227, 325, 1371, 362, 1523, 401, 1683, 442, 1851, 485, 2027, 530, 2211, 577, 2403, 626, 2603, 677, 2811]