Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A140315
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A140315 Numbers n such that n!/n#-1 and n!/n#+1 is a probable twin prime pair. +0
1
4, 5, 8, 34, 280, 281 (list; graph; listen)
OFFSET

4,1

COMMENT

a(4),a(5) and a(280),a(281) result in the same respective twin prime pairs.

a(281) produces 453 digit components. Using gmp, testing n < 4000, the last

3-prp found was the 8897 digit 3-prp, 3337!/3337#-1.

FORMULA

n# is the primorial function. We define 0# = 1# = 1.

EXAMPLE

8!/8#-1 = 191,8!/8#-1 = 193. 191 and 193 form a twin prime pair.

PROGRAM

(PARI) g(n) = for(x=1, n, y=x!/primorial(x)-1; z=nextprime(y+1); if(ispseudoprime(y)&&z-y==2, print1(x", "))) primorial(n) = \ The product of primes <= n using the pari primelimit. { local(p1, x); if(n==0||n==1, return(1)); p1=1; forprime(x=2, n, p1*=x); return(p1) }

CROSSREFS

Sequence in context: A072808 A104884 A113726 this_sequence A055497 A093088 A019637

Adjacent sequences: A140312 A140313 A140314 this_sequence A140316 A140317 A140318

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), May 25 2008

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research