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.

A305531 Smallest k >= 1 such that (n-1)*n^k + 1 is prime.

Table of values

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

List of values

[1, 1, 1, 2, 1, 1, 2, 1, 3, 10, 3, 1, 2, 1, 1, 4, 1, 29, 14, 1, 1, 14, 2, 1, 2, 4, 1, 2, 4, 5, 12, 2, 1, 2, 2, 9, 16, 1, 2, 80, 1, 2, 4, 2, 3, 16, 2, 2, 2, 1, 15, 960, 15, 1, 4, 3, 1, 14, 1, 6, 20, 1, 3, 946, 6, 1, 18, 10, 1, 4, 1, 5, 42, 4, 1, 828, 1, 1, 2, 1, 12, 2, 6, 4, 30, 3, 3022, 2, 1, 1]