login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097444 Second occurrence where n# + p is prime for primes p = 3,5,... 1
7, 13, 41, 227, 2339, 30059, 510551, 9699727, 223092917, 6469693319, 200560490213, 7420738134911, 304250263527317, 13082761331670097, 614889782588491519, 32589158477190044803, 1922760350154212639159 (list; graph; refs; listen; history; internal format)
OFFSET

2,1

COMMENTS

Care has to be taken to start with a large enough n to be sure terms are not missed. Here we used n=100.

FORMULA

n# is n primorial = product of primes 2*3*5*...*p<=n

EXAMPLE

5# = 2*3*5 = 30. 30+7 = 37 first prime,30+11 = 41 second prime.

PROG

(PARI) primorp2(n) = { pr=1; for(x=1, n, f=1; pr*=prime(x); for(m=1, n, y=pr+prime(m); if(isprime(y), f=1; for(m=m+1, n, y=pr+prime(m); if(isprime(y), print1(y", "); f=0; break, f=1)); ); if(f==0, break) ) ) }

CROSSREFS

Sequence in context: A107207 A045464 A134854 * A151781 A047977 A139403

Adjacent sequences:  A097441 A097442 A097443 * A097445 A097446 A097447

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 23 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.