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.

A341931 a(n) = smallest m > 0 such that the decimal concatenation n||n-1||n-2||...||m is prime, or -1 if no such prime exists.

Table of values

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

List of values

[-1, -1, 2, 3, 3, 5, -1, 3, -1, -1, 7, 11, -1, 13, -1, -1, -1, 17, -1, 19, -1, -1, 19, 23, 23, 13, -1, 23, -1, 29, -1, 31, -1, -1, 33, -1, -1, 37, -1, -1, -1, 41, 41, 43, -1, -1, 3, 47, 17, -1, -1, 47, 37, 41, -1, 27, 47, -1, 57, 59, 47, 61, -1, -1, -1, -1, -1]