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!)
A139201 Numbers k such that (k!-6)/6 is prime. 3
4, 5, 7, 8, 11, 14, 16, 17, 18, 20, 43, 50, 55, 59, 171, 461, 859, 2830, 3818, 5421, 5593, 10118, 10880, 24350 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(25) > 25000. - Robert Price, Dec 15 2016
LINKS
MAPLE
a:=proc(n) if isprime((1/6)*factorial(n)-1)=true then n else end if end proc: seq(a(n), n=4..500); # Emeric Deutsch, Apr 29 2008
MATHEMATICA
a = {}; Do[If[PrimeQ[(n! - 6)/6], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (* Artur Jasinski *)
CROSSREFS
Cf. n!/m-1 is a prime: A002982, A082671, A139056, A139199-A139205; n!/m+1 is a prime: A002981, A082672, A089085, A139061, A139058, A139063, A139065, A151913, A137390, A139071 (1 <= m <= 10).
Sequence in context: A356160 A120753 A188322 * A049649 A050575 A081452
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 11 2008
EXTENSIONS
2 more terms from Emeric Deutsch, Apr 29 2008
More terms from Serge Batalov, Feb 18 2015
a(22)-a(24) from Robert Price, Dec 15 2016
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 25 12:27 EDT 2024. Contains 371969 sequences. (Running on oeis4.)