login
A096649
First occurrence where n# - p is a prime for primes p = 3,5,...
1
3, 23, 199, 2297, 30013, 510481, 9699667, 223092827, 6469693189, 200560490057, 7420738134751, 304250263527163, 13082761331669941, 614889782588491343, 32589158477190044657, 117288381359406970983181
OFFSET
2,1
FORMULA
n# is n primorial = product of primes 2*3*5*...*p<=n
EXAMPLE
5# = 2*3*5 = 30. 30-3 = 27,30-5=25,30-7 = 23 prime
PROG
(PARI) pr=1; forprime(x=2, n, pr*=x; forprime(m=2, n, y=pr-m; if(isprime(y), print1(y", "); break)))
CROSSREFS
Sequence in context: A370105 A372506 A241886 * A370283 A235131 A235360
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 22 2004
STATUS
approved