login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A180628 Numbers k such that 7*k! - 1 is prime. 8
2, 3, 4, 5, 6, 7, 8, 12, 23, 25, 31, 57, 74, 86, 140, 240, 310, 703, 713, 796, 1028, 1102, 1924, 3469, 3990 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
fQ[n_] := PrimeQ[7 n! - 1]; k = 0; lst = {}; While[k < 1501, If[ fQ@k, AppendTo[lst, k]; Print@k]; k++ ]; lst
PROG
(PARI) is(k) = ispseudoprime(7*k!-1); \\ Jinyuan Wang, Feb 03 2020
CROSSREFS
Sequence in context: A033087 A084589 A271831 * A165306 A254116 A254115
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Sep 13 2010
EXTENSIONS
a(23) from Jinyuan Wang, Feb 03 2020
a(24)-a(25) from Michael S. Branicky, Apr 25 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)