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.

A266239 a(n) is the smallest k such that the following are four primes: prime(n)*k-1, prime(n)*k+1, prime(n)*k^2-1, prime(n)*k^2+1. Or -1 if no such k exists.

Table of values

n a(n)
1 3
2 2
3 6
4 66
5 300
6 24
7 3744
8 27000
9 6
10 1080
11 960
12 90
13 30
14 366
15 9204
16 8154
17 1170
18 840
19 330
20 6090
21 84
22 27720
23 324
24 90
25 186
26 4740
27 2856
28 6
29 24270
30 936
31 5220
32 1560
33 6
34 1500
35 510
36 120
37 930
38 3270
39 30
40 8520
41 29700
42 1200
43 23310
44 1056
45 3540
46 90
47 3420
48 2370
49 9654
50 83040
51 2610
52 9270
53 2610

List of values

[3, 2, 6, 66, 300, 24, 3744, 27000, 6, 1080, 960, 90, 30, 366, 9204, 8154, 1170, 840, 330, 6090, 84, 27720, 324, 90, 186, 4740, 2856, 6, 24270, 936, 5220, 1560, 6, 1500, 510, 120, 930, 3270, 30, 8520, 29700, 1200, 23310, 1056, 3540, 90, 3420, 2370, 9654, 83040, 2610, 9270, 2610]