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.

A240235 Least number k such that k*n^k - 1 is prime. a(n) = 0 if no such number exists.

Table of values

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

List of values

[3, 2, 1, 1, 8, 1, 2, 1, 10, 2, 2, 1, 2, 1, 2, 167, 2, 1, 12, 1, 2, 2, 29028, 1, 2, 3, 10, 2, 26850, 1, 8, 1, 42, 2, 6, 2, 24, 1, 2, 3, 2, 1, 2, 1, 2, 2, 140, 1, 2, 2, 22, 2, 8, 1, 2064, 2, 468, 6, 2, 1, 362, 1, 2, 2, 6, 3, 26, 1, 2, 3, 20, 1, 2, 1, 28, 2, 38, 5, 3024, 1, 2, 81, 858, 1]