Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A084730
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A084730 Smallest prime of the form k*n! - 1. +0
2
2, 3, 5, 23, 239, 719, 5039, 201599, 1088639, 14515199, 159667199, 479001599, 31135103999, 87178291199, 2615348735999, 188305108991999, 711374856191999, 192071211171839999, 3649353012264959999, 12164510040883199999 (list; graph; listen)
OFFSET

2,1

EXAMPLE

a(8) = 161599 = 4*8! - 1 is a prime.

MATHEMATICA

Do[k = 1; While[ !PrimeQ[k*n! - 1], k++ ]; Print[k*n! - 1], {n, 2, 20}]

PROGRAM

(PARI) a(n)=if(n<1, 0, k=1; while(isprime(k*n!-1)==0, k++); k*n!-1)

CROSSREFS

Cf. A083663.

Sequence in context: A138655 A053708 A137070 this_sequence A117696 A024774 A068543

Adjacent sequences: A084727 A084728 A084729 this_sequence A084731 A084732 A084733

KEYWORD

nonn

AUTHOR

Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), Jun 13 2003

EXTENSIONS

Corrected and extended by Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 14 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 16 18:11 EDT 2010. Contains 173532 sequences.


AT&T Labs Research