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.

A231820 Least positive k such that n*k! - 1 is a prime, or 0 if no such k exists.

Table of values

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

List of values

[3, 2, 1, 1, 3, 1, 2, 1, 2, 2, 4, 1, 4, 1, 2, 2, 3, 1, 2, 1, 2, 2, 3, 1, 3, 5, 2, 3, 3, 1, 2, 1, 3, 2, 4, 2, 2, 1, 3, 2, 4, 1, 3, 1, 2, 4, 3, 1, 2, 6, 2, 2, 3, 1, 2, 5, 2, 3, 3, 1, 10, 1, 4, 2, 3, 2, 3, 1, 2, 2, 7, 1, 8, 1, 2, 2, 3, 3, 2, 1, 5, 2, 8, 1, 3, 4, 2, 4, 15, 1]