Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A050299
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A050299 Numbers n such that ((n-1)!+1)/n is prime. +0
4
1, 5, 7, 11, 29, 773, 1321, 2621 (list; graph; listen)
OFFSET

1,2

COMMENT

Except for the first term, all terms are primes because for n > 1, n divides (n-1)!+1 iff n is prime. There are no other terms up to 6550 and the corresponding next prime has more than 22150 digits.

No more terms below 30941.

REFERENCES

Javier Soria, posting to Number Theory List, Apr 08 2003

LINKS

Mike Oakes, posting to Number Theory List, Aug 20 2003

EXAMPLE

7 is in the sequence because (6!+1)/7=103 is prime.

MATHEMATICA

v={1}; Do[If[PrimeQ[((Prime[n]-1)!+1)/Prime[n]], v=Append[v, Prime[n]]; Print[v]], {n, 845}]

CROSSREFS

Sequence in context: A157437 A031134 A144231 this_sequence A092029 A156559 A018426

Adjacent sequences: A050296 A050297 A050298 this_sequence A050300 A050301 A050302

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Apr 09 2003

EXTENSIONS

1321 and 2621 from Mike Oakes, Aug 20 2003

Additional comments from Farideh Firoozbakht (mymontain(AT)yahoo.com), Mar 19 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 December 9 18:50 EST 2009. Contains 170568 sequences.


AT&T Labs Research