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.

A082519 Number of times that k^2 + (n-k)^2 is prime for 1 <= k <= n-1.

Table of values

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

List of values

[1, 2, 0, 4, 0, 4, 0, 4, 0, 6, 0, 6, 0, 8, 0, 8, 0, 8, 0, 6, 0, 8, 0, 16, 0, 8, 0, 12, 0, 10, 0, 8, 0, 18, 0, 16, 0, 12, 0, 18, 0, 14, 0, 14, 0, 14, 0, 10, 0, 14, 0, 18, 0, 28, 0, 16, 0, 18, 0, 22, 0, 14, 0, 34, 0, 22, 0, 20, 0, 18, 0, 22, 0, 18, 0, 16, 0, 26, 0, 18, 0, 30, 0, 40, 0, 22, 0, 28, 0]