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.

A122396 Least k>1 such that p^k - p^(k-1) - 1 is prime for p = prime(n).

Table of values

n a(n)
1 3
2 2
3 2
4 2
5 2
6 3
7 2
8 7
9 56
10 2
11 2
12 8
13 8
14 8
15 2
16 4
17 4
18 2
19 2
20 2
21 9
22 3
23 21496
24 26
25 2
26 2
27 4
28 38
29 7
30 286644
31 2
32 2
33 26
34 2
35 2
36 4
37 4
38 15
39 4
40 24
41 16
42 2
43 264
44 4
45 2
46 3
47 24
48 3
49 516
50 6

List of values

[3, 2, 2, 2, 2, 3, 2, 7, 56, 2, 2, 8, 8, 8, 2, 4, 4, 2, 2, 2, 9, 3, 21496, 26, 2, 2, 4, 38, 7, 286644, 2, 2, 26, 2, 2, 4, 4, 15, 4, 24, 16, 2, 264, 4, 2, 3, 24, 3, 516, 6]