|
|
A180627
|
|
Numbers k such that 6*k! - 1 is prime.
|
|
10
|
|
|
0, 1, 2, 5, 8, 42, 318, 326, 1054, 2987, 11243
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MATHEMATICA
|
fQ[n_] := PrimeQ[6 n! - 1]; k = 0; lst = {}; While[k < 1501, If[ fQ@k, AppendTo[lst, k]; Print@k]; k++ ]; lst
|
|
PROG
|
(PARI) is(k) = ispseudoprime(6*k!-1); \\ Jinyuan Wang, Feb 04 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|