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.

A248031 Least number k such that k^n +- k +- 1 is prime for all four possibilities, or 0 if no such k exists.

Table of values

n a(n)
2 3
3 15
4 6
5 0
6 30594
7 246819
8 0
9 4033590
10 2298429
11 0
12 19209840
13 13542816
14 0
15 3979836
16 75524874
17 0
18 143635866
19 220808901
20 0
21 14557221
22 185958081
23 0
24 180438825
25 320588085
26 0
27 499478574
28 29105421
29 0
30 37340766
31 1169275746
32 0
33 2051928486
34 27069021
35 0
36 971311320

List of values

[3, 15, 6, 0, 30594, 246819, 0, 4033590, 2298429, 0, 19209840, 13542816, 0, 3979836, 75524874, 0, 143635866, 220808901, 0, 14557221, 185958081, 0, 180438825, 320588085, 0, 499478574, 29105421, 0, 37340766, 1169275746, 0, 2051928486, 27069021, 0, 971311320]