login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 6 15:05 EDT 2024. Contains 374974 sequences. (Running on oeis4.)