|
Search: id:A140315
|
|
|
| A140315 |
|
Numbers n such that n!/n#-1 and n!/n#+1 is a probable twin prime pair. |
|
+0 1
|
| |
|
|
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
|
|
|
Search completed in 0.002 seconds
|