login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076378 n!-x!-1 is never prime for all x<n. 1
1, 2, 18, 19, 20, 24, 25, 27, 36, 39, 40, 41, 44, 46, 48, 51, 53, 57, 58, 60, 63, 69, 70, 72, 79, 80, 89, 96, 98, 107, 108, 111, 112, 114, 117, 118, 119, 120, 124, 127, 132, 134, 135, 139, 142, 144, 145, 150, 151, 152, 154, 160, 161, 169, 172, 176, 181, 183 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

MATHEMATICA

nevpQ[n_]:=Module[{nf1=n!-1}, And@@(!PrimeQ[#]&)/@Table[nf1-x!, {x, n-1}]]; Select[Range[200], nevpQ] (* Harvey P. Dale, May 14 2011 *)

PROG

(PARI) for (a=1, 100, c=0; for (b=1, a-1, if (b%2<>a%2, continue); if (isprime(a!-b!-1), c=1; break)); if (c==0, print1(a, ", ")))

CROSSREFS

Cf. A076379.

Sequence in context: A174708 A144158 A083502 * A231502 A231864 A066242

Adjacent sequences:  A076375 A076376 A076377 * A076379 A076380 A076381

KEYWORD

nonn

AUTHOR

Jon Perry, Oct 08 2002

EXTENSIONS

More terms from Harvey P. Dale, May 14 2011.

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 August 26 00:35 EDT 2019. Contains 326324 sequences. (Running on oeis4.)