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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090704 Numbers n such that n*factorial(n)-1 is prime. 2
2, 3, 5, 7, 8, 11, 27, 77, 98, 183, 285, 290, 397, 410, 599, 717, 731, 888, 1962, 2239, 2241, 2532, 8799, 11402 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

FORMULA

a(n) = A049433(n)-1 because n!-(n-1)!-1 = (n-1)*(n-1)!-1.

MATHEMATICA

Select[Range[2600], PrimeQ[#(#!)-1]&] (* Because a(22) generates a 7524 digit number to be tested for primality, the program takes a long time to run. *) (* Harvey P. Dale, May 27 2014 *)

CROSSREFS

Sequence in context: A026401 A069353 A224858 * A112055 A291485 A228898

Adjacent sequences:  A090701 A090702 A090703 * A090705 A090706 A090707

KEYWORD

nonn,more

AUTHOR

Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Jan 15 2004

EXTENSIONS

More terms from Farideh Firoozbakht, Oct 31 2004

a(23)-a(24) using A049433 from Michel Marcus, May 29 2014

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified September 21 15:35 EDT 2017. Contains 292316 sequences.