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.

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

Table of values

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

List of values

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