login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139199 Numbers k such that (k!-4)/4 is prime. 20
4, 5, 6, 7, 8, 10, 15, 18, 23, 157, 165, 183, 184, 362, 611, 908, 2940, 6875, 9446, 16041 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Numbers k such that (k!-m)/m is prime:

for m=1 see A002982

for m=2 prime or pseudoprime see A082671

for m=3 see A139056

for m=4 see A139199

for m=5 see A139200

for m=6 see A139201

for m=7 see A139202

for m=8 see A139203

for m=9 see A139204

for m=10 see A139205

a(17) > 2000 - Ray G. Opao, Sep 30 2008

a(21) > 25000 - Robert Price, Sep 25 2016

LINKS

Table of n, a(n) for n=1..20.

MATHEMATICA

a = {}; Do[If[PrimeQ[(n! - 4)/4], Print[a]; AppendTo[a, n]], {n, 1, 184}]; a (*Artur Jasinski*)

PROG

(PARI) is(n)=n>3 && isprime(n!/4-1) \\ Charles R Greathouse IV, Apr 29 2015

CROSSREFS

Cf. A139189, A139190, A139191, A139192, A139193, A139194, A139195, A139196, A139197, A139198.

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: A023373 A078778 A037356 * A003666 A334917 A295742

Adjacent sequences:  A139196 A139197 A139198 * A139200 A139201 A139202

KEYWORD

hard,more,nonn

AUTHOR

Artur Jasinski, Apr 11 2008

EXTENSIONS

a(15)-a(16) from Ray G. Opao, Sep 30 2008

a(17) from Serge Batalov, Feb 18 2015

a(18)-a(20) from Robert Price, Sep 25 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 28 00:12 EST 2021. Contains 349395 sequences. (Running on oeis4.)