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.

A217840 Total number of solutions to the equation x^2 + k*y^2 = n with x >= 0, y >= 0, k > 0, or 0 if the number is infinite. Order matters for the equation x^2 + y^2 = n.

Table of values

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

List of values

[0, 2, 2, 0, 4, 3, 3, 5, 0, 5, 4, 6, 7, 4, 4, 0, 8, 7, 6, 9, 7, 6, 5, 8, 0, 7, 8, 10, 10, 6, 7, 11, 10, 9, 6, 0, 12, 7, 7, 13, 13, 7, 9, 11, 14, 8, 7, 13, 0, 11, 9, 17, 13, 12, 9, 12, 14, 11, 9, 12, 16, 8, 11, 0, 17, 10, 11, 17, 13, 11, 9, 19, 19, 11, 11, 18, 13, 9, 12, 18, 0, 13, 10, 18, 20, 11, 10, 18, 19, 15, 13, 15, 15, 12, 10, 18, 22, 12, 16, 0]