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.

A259731 Least positive integer k such that prime(k*n)-1 is a square, or 0 if no such k exists.

Table of values

n a(n)
1 1
2 6
3 1
4 3
5 9
6 2
7 1
8 181
9 5
10 459
11 5
12 1
13 2
14 18
15 3
16 421
17 35
18 14
19 183
20 3274
21 12
22 143
23 501
24 422
25 1407
26 1
27 170
28 9
29 55
30 153
31 2044
32 426
33 274
34 74
35 17
36 7
37 68
38 452
39 1084
40 1637
41 3
42 6
43 43
44 1141
45 1
46 8218
47 1860
48 211
49 42
50 1582
51 53
52 813
53 2
54 85
55 1
56 5714
57 61
58 1379
59 296
60 1457
61 57
62 1022
63 4
64 213
65 1331
66 137
67 525
68 37
69 167
70 1130

List of values

[1, 6, 1, 3, 9, 2, 1, 181, 5, 459, 5, 1, 2, 18, 3, 421, 35, 14, 183, 3274, 12, 143, 501, 422, 1407, 1, 170, 9, 55, 153, 2044, 426, 274, 74, 17, 7, 68, 452, 1084, 1637, 3, 6, 43, 1141, 1, 8218, 1860, 211, 42, 1582, 53, 813, 2, 85, 1, 5714, 61, 1379, 296, 1457, 57, 1022, 4, 213, 1331, 137, 525, 37, 167, 1130]