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.

A216673 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 does not matter for the equation x^2 + y^2 = n).

Table of values

n a(n)
1 0
2 2
3 2
4 0
5 3
6 3
7 3
8 5
9 0
10 4
11 4
12 6
13 6
14 4
15 4
16 0
17 7
18 7
19 6
20 8
21 7
22 6
23 5
24 8
25 0
26 6
27 8
28 10
29 9
30 6
31 7
32 11
33 10
34 8
35 6
36 0
37 11
38 7
39 7
40 12
41 12
42 7
43 9
44 11
45 13
46 8
47 7
48 13
49 0
50 10
51 9
52 16
53 12
54 12
55 9
56 12
57 14
58 10
59 9
60 12
61 15
62 8
63 11
64 0
65 15
66 10
67 11
68 16
69 13
70 11
71 9
72 19
73 18
74 10
75 11
76 18
77 13

List of values

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