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.

A237710 Least prime p < n with pi(n-p) a square, or 0 if such a prime p does not exist.

Table of values

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

List of values

[0, 0, 2, 2, 3, 5, 5, 7, 2, 2, 2, 2, 3, 5, 5, 7, 7, 11, 11, 11, 11, 13, 13, 17, 2, 2, 2, 2, 2, 2, 3, 5, 5, 7, 7, 11, 11, 11, 11, 13, 13, 17, 17, 17, 17, 19, 19, 23, 23, 23, 23, 29, 29, 29, 2, 2, 2, 2, 2, 2, 3, 5, 5, 7, 7, 11, 11, 11, 11, 13]