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.

A146326 Length of the period of the continued fraction of (1+sqrt(n))/2.

Table of values

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

List of values

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