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.

A341862 a(n) is the even term in the linear recurrence signature for numerators and denominators of continued fraction convergents to sqrt(n), or 0 if n is a square.

Table of values

n a(n)
0 0
1 0
2 2
3 4
4 0
5 4
6 10
7 16
8 6
9 0
10 6
11 20
12 14
13 36
14 30
15 8
16 0
17 8
18 34
19 340
20 18
21 110
22 394
23 48
24 10
25 0
26 10
27 52
28 254
29 140
30 22
31 3040
32 34
33 46
34 70
35 12
36 0
37 12
38 74
39 50
40 38
41 64
42 26
43 6964
44 398
45 322
46 48670
47 96
48 14
49 0
50 14
51 100
52 1298
53 364
54 970
55 178
56 30
57 302
58 198
59 1060
60 62
61 59436

List of values

[0, 0, 2, 4, 0, 4, 10, 16, 6, 0, 6, 20, 14, 36, 30, 8, 0, 8, 34, 340, 18, 110, 394, 48, 10, 0, 10, 52, 254, 140, 22, 3040, 34, 46, 70, 12, 0, 12, 74, 50, 38, 64, 26, 6964, 398, 322, 48670, 96, 14, 0, 14, 100, 1298, 364, 970, 178, 30, 302, 198, 1060, 62, 59436]