Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A092970
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A092970 Smallest prime of the form n!/k + 1. k < = n, or 0 if no such prime exists. +0
3
2, 2, 3, 7, 31, 181, 1009, 13441, 45361, 453601, 3991681, 39916801, 566092801, 10897286401, 130767436801, 2988969984001, 25406244864001, 0, 8109673360588801, 304112751022080001, 2688996956405760001 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(10) = 453601 = 10!/8 + 1, as 10!/10 + 1 and 10!/9 + 1 are both composite.

PROGRAM

(PARI) a(n)=for (i=1, n, if(isprime(n!/(n-i+1)+1), return((n!/(n-i+1)+1))))

CROSSREFS

Cf. A092968, A092969, A092068.

Sequence in context: A038507 A077001 A087522 this_sequence A052449 A053413 A143673

Adjacent sequences: A092967 A092968 A092969 this_sequence A092971 A092972 A092973

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 26 2004

EXTENSIONS

Corrected and extended by Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 26 2004

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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 13:47 EST 2009. Contains 167481 sequences.


AT&T Labs Research